Cyber Deals - Get up to 65% off on CKA, CKAD, CKS, KCNA, KCSA exams and courses!

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
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
Gineesh Madapparambath

Gineesh Madapparambath

Gineesh Madapparambath is the founder of techbeatly. He is the co-author of The Kubernetes Bible, Second Edition and the author of Ansible for Real Life Automation. 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). (Read more: iamgini.com)


Disclaimer: Views expressed in articles are those of the respective authors and do not necessarily reflect the views of their employers or this site. While we aim for accuracy, please verify information before relying on it, and let us know if you spot an error.
Share:

Related Posts

Infrastructre & hardware

Check MD5 in windows using fciv

The File Checksum Integrity Verifier (FCIV) is a command-prompt utility that computes and verifies cryptographic hash values of files. FCIV can …

Mac OS X keyboard shortcuts – Part 1

Mac OS X keyboard shortcuts – Part 1

Source : support.apple.comTo use a keyboard shortcut, or key combination, you press a modifier key with a character key. For example, pressing the …

Infrastructre & hardware

dmidecode – best usages [updated]

Check Hyper-threading (Virtualization) available or not # dmidecode -t processor | grep HTT HTT (Multi-threading) HTT (Multi-threading) Check if its …

Apple

Mac OS X keyboard shortcuts – Part 3

Source : support.apple.comApplication and other Mac OS X keyboard commands Note: Some applications may not support all of the below application key …

Apple

Mac OS X keyboard shortcuts – Part 2

Source : support.apple.comFinder keyboard shortcuts Key combination What it does Command-A Select all items in the front Finder window (or desktop if …

Infrastructre & hardware

Register in RHN after installation

There are many situations where we need to register the host/server to RHN server manually, due to network issues, bad certificate/authentication or …