Experience: is what you get soon after you need it.

Experience: is what you get soon after you need it.

Rasul Allah (sal Allahu alaihi wa sallam) said: "Restore the trusts of those who trust you, and deal not falsely with him who deals falsely with you." [Abu Dawud, Tirmidhi]

Search This Blog

Wednesday, August 17, 2011

unix cpu info

find number of cpu's and cores in Solaris;

cpu_info|grep core_id|sort -u|wc -l
4

>psrinfo -pv
The physical processor has 8 virtual processors (0-7)
SPARC64-VII (portid 1024 impl 0x7 ver 0xa1 clock 2750 MHz)

sockets:
echo "`psrinfo -p` socket(s)"



In RHEL:
$ grep processor /proc/cpuinfo

No comments: