Saturday, May 9, 2020

How to check core CPU's

How to check core CPU's



Command to check CPU info on Linux
cat /proc/cpuinfo|grep processor|wc -l

OR
getconf _NPROCESSORS_ONLN

Command to check CPU info on Solaris
psrinfo -v|grep "Status of processor"|wc -l

Command to check CPU info on AIX
lsdev -C|grep Process|wc -l

Command to check CPU info on HP/UX
ioscan -C processor | grep processor | wc -l

No comments:

Post a Comment