On
Solaris run the command /usr/sbin/psrinfo
-v|grep "Status of processor"|wc
-l
On AIX run the command lsdev -C|grep Process|wc
-l
On HP-UX run the
following commands (requires superuser
privileges): P=`echo processor_count/D
| adb -k /stand/vmunix /dev/mem |tail
-1|awk '{print $2}'` echo "The number
of processors on `hostname` = $P"
On Tru64 run the
command /usr/sbin/psrinfo -v|grep "Status of processor"|wc
-l
Next
UNIX Tip |