Quote:
Originally Posted by tom
Quick question - How do I display number of processors on linux?
Simply use top command:
Get info from /proc/cpuinfo with the help of grep command
Code:
grep -c processor /proc/cpuinfo
|
correction
Code:
grep -c processor /proc/cpuinfo
[/quote]
right info for cpu
grep CPU /proc/cpuinfo
grep cpu /proc/cpuinfo
and to see the process in the linux machine? start searching in /proc/

thats the one which does the heavy dirty work! and also make sure you know difference between process and threads. like process is when you run xmms it opens up 3 windows, xmms is a process and those 3 windows are threads, threads are not identical with processess.
best way?
man lsof