Skip to content

How to check CPU count information (LUX)

|

Quick methods to check.

Linux
[root~]# dmidecode -t processor |grep CPU
 Version: Intel(R) Xeon(R) CPU E7- 4830 @ 2.13GHz
 Version: Intel(R) Xeon(R) CPU E7- 4830 @ 2.13GHz
 Version: Intel(R) Xeon(R) CPU E7- 4830 @ 2.13GHz
 Version: Intel(R) Xeon(R) CPU E7- 4830 @ 2.13GHz
SunOS/Solaris
root# psrinfo -p
1

root# psrinfo -pv
The physical processor has 2 cores and 16 virtual processors (0-15)
 The core has 8 virtual processors (0-7)
 The core has 8 virtual processors (8-15)
 SPARC-T5 (chipid 0, clock 3600 MHz)
IBM AIX
[email protected]# lparstat -i |grep -i cpu
Online Virtual CPUs : 16
Maximum Virtual CPUs : 32
Minimum Virtual CPUs : 1
Maximum Physical CPUs in system : 256
Active Physical CPUs in system : 118
Active CPUs in Pool : -
Shared Physical CPUs in system : 0
Physical CPU Percentage : 100.00%
Desired Virtual CPUs : 16
HP/UX
HOUCY1-101:/root> ioscan -kfnC processor
Class I H/W Path Driver S/W State H/W Type Description
===================================================================
processor 0 0/10 processor CLAIMED PROCESSOR Processor
processor 1 0/11 processor CLAIMED PROCESSOR Processor
processor 2 0/12 processor CLAIMED PROCESSOR Processor
processor 3 0/13 processor CLAIMED PROCESSOR Processor
processor 4 0/14 processor CLAIMED PROCESSOR Processor
processor 5 0/15 processor CLAIMED PROCESSOR Processor
processor 6 0/16 processor CLAIMED PROCESSOR Processor
processor 7 0/17 processor CLAIMED PROCESSOR Processor
processor 8 1/10 processor CLAIMED PROCESSOR Processor
processor 9 1/11 processor CLAIMED PROCESSOR Processor
processor 10 1/12 processor CLAIMED PROCESSOR Processor
processor 11 1/13 processor CLAIMED PROCESSOR Processor
processor 12 1/14 processor CLAIMED PROCESSOR Processor
processor 13 1/15 processor CLAIMED PROCESSOR Processor
processor 14 1/16 processor CLAIMED PROCESSOR Processor
processor 15 1/17 processor CLAIMED PROCESSOR Processor
Tags:

Gineesh has worked as a Systems Engineer, Automation Specialist, and content author. His primary focus is on Ansible Automation, Containerisation (OpenShift & Kubernetes), and Infrastructure as Code (Terraform). (aka Gini Gangadharan - iamgini.com)

Latest posts

Gineesh has worked as a Systems Engineer, Automation Specialist, and content author. His primary focus is on Ansible Automation, Containerisation (OpenShift & Kubernetes), and Infrastructure as Code (Terraform). (aka Gini Gangadharan - iamgini.com)

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.