Skip to content

How to check CPU count information (LUX)

Avatar photo

https://www.linkedin.com/in/gineesh/ https://twitter.com/GiniGangadharan

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
root@amsd2a-101# 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

Disclaimer:

The views expressed and the content shared in all published articles on this website are solely those of the respective authors, and they do not necessarily reflect the views of the author’s employer or the techbeatly platform. We strive to ensure the accuracy and validity of the content published on our website. However, we cannot guarantee the absolute correctness or completeness of the information provided. It is the responsibility of the readers and users of this website to verify the accuracy and appropriateness of any information or opinions expressed within the articles. If you come across any content that you believe to be incorrect or invalid, please contact us immediately so that we can address the issue promptly.

Tags:

Avatar photo


https://www.linkedin.com/in/gineesh/ https://twitter.com/GiniGangadharan
Gineesh Madapparambath is the founder of techbeatly and he is the co-author of The Kubernetes Bible, Second Edition. and the author of 𝗔𝗻𝘀𝗶𝗯𝗹𝗲 𝗳𝗼𝗿 𝗥𝗲𝗮𝗹-𝗟𝗶𝗳𝗲 𝗔𝘂𝘁𝗼𝗺𝗮𝘁𝗶𝗼𝗻. He 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.