On Wed, 14 Apr 1999, Dick Balaska wrote:
> Dudes and/or Dudettes:
>
> I know i've seen (in normal user space) a call to determine the number
> of CPUs in a system but i can't find it now that i need it.
I'm not sure what you are asking for here but maybe somebody does and
will respond. One can certainly find out by e.g. cat /proc/cpuinfo and
looking or passing the output through a filter to count -- or did you
mean from inside a program via a systems call?
> This is more of a networking question:
> There are times when i fail to call my (user space) terminate handler
> and give back my listen socket. Is there any way to recover that system
> resource without rebooting? (I usually lose it when i restart the program
> in ddd without a `signal SIGINT` first)
They don't timeout eventually when ddd goes away? Strange... what does
netstat show?
rgb
Robert G. Brown http://www.phy.duke.edu/~rgb/
Duke University Dept. of Physics, Box 90305
Durham, N.C. 27708-0305
Phone: 1-919-660-2567 Fax: 919-660-2525 email:[EMAIL PROTECTED]
-
Linux SMP list: FIRST see FAQ at http://www.irisa.fr/prive/mentre/smp-faq/
To Unsubscribe: send "unsubscribe linux-smp" to [EMAIL PROTECTED]