Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

linux get processor count

# get number of processing units
nproc

# summary about CPUs
lscpu

# raw data for each cpu
cat /proc/cpuinfo
 
PREVIOUS NEXT
Tagged: #linux #processor #count
ADD COMMENT
Topic
Name
7+5 =