Visit Counter

Tuesday, November 5, 2013

Unix Info about Processor & Core



number of physical cpu: "psrinfo -p"
number of cores: "kstat cpu_info|grep core_id|sort -u|wc -l"
number of threads: "psrinfo -pv"

Number of Physical CPU


# psrinfo -p

2

Number of Cores:

 # kstat cpu_info|grep core_id|sort -u|wc -l

  2

Number of threads:

 # psrinfo -pv

The physical processor has 1 virtual processor (0)
UltraSPARC-IIIi (portid 0 impl 0x16 ver 0x34 clock 1503 MHz)
The physical processor has 1 virtual processor (1)
UltraSPARC-IIIi (portid 1 impl 0x16 ver 0x34 clock 1503 MHz)





No comments:

Post a Comment