Wednesday, August 10, 2011

Displaying the number of CPU processors in UNIX

Posted on 9:08 AM by Kalum Umesh

You need to have special command for each dialect of UNIX to display CPU information. Knowing the number of CPUs is very important to the Oracle DBA because it shows the number of parallel query processes that can be concurrently executing on the UNIX server. Table 2-2 shows the common commands for each major dialect.

Linux :

cat /proc/cpuinfo|grep processor|wc –l

Solaris :

psrinfo -v|grep "Status of processor"|wc –l

AIX :

lsdev -C|grep Process|wc –l

HP/UX :

ioscan -C processor | grep processor | wc -l

No Response to "Displaying the number of CPU processors in UNIX"

Leave A Reply

 
Free Website Hosting