The RH referance manuals contain info about what the /proc file system contains. Have a look at this part of the manual:- http://www.redhat.com/docs/manuals/linux/RHL-7.3-Manual/ref-guide/s1-proc-to pfiles.html
Some files of interest may be:- /proc/stat /proc/cpuinfo /proc/interrupts The final file in particular may be of use as it would not take much work to parse the top line to find how manys columns (i.e. CPU0 CPU1 CPUX) it has. Hope this helps. Regards Lee ----- Original Message ----- From: "David Kramer" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, September 11, 2002 9:30 PM Subject: Odd Q: How to check CPU count on *Nix server? - PLZ HELP!!! > Odd question, Is it possible to check how many CPU's a *Nix Server contains > from command line?? Need to know in order set the Parallelism Degree within > Oracle. Im using KSH shell if that matters. > > Thanks, > > DK > > David Kramer > Software Developer > Reflect.com > Direct: 415.369.4856 > Cell: 650.302.7889 > > > > -- > redhat-list mailing list > unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe > https://listman.redhat.com/mailman/listinfo/redhat-list > > > -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list