Q: Is there a version of "top" with SMP support? We would like to be able to measure performance of our dual-processor machines, and I don't think that 'top' is reporting the correct info. Is there an SMP version of 'top'? We would really like to get an accurate look at our processor usage (for both of them).

A: Since v. 2.0.7, Michael K. Johnson as the new maintainer of the procps package (which includes top) has included the SMP patch. Sources are available from ftp://people.redhat.com/johnsonm/procps/

Previous versions of top won't show two CPUs. However, the information shown there is still valid. There is an SMP-enabled utility you might consider, named xosview, which has a patch that will graphicly display what you need.

xosview: http://xosview.sourceforge.net/

Alternatively, check /proc/cpuinfo or look at /var/log/dmesg . (Search for Bogo.)

/var/log/dmesg:
Booting processor 0 stack 00002000:
Calibrating delay loop.. ok - 398.13 BogoMIPS
Total of 2 processors activated (795.44 BogoMIPS).
Booting processor 0 stack 00002000:
Calibrating delay loop.. ok - 398.13 BogoMIPS