ubuntu:cpu:display_the_number_of_processors
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
ubuntu:cpu:display_the_number_of_processors [2021/06/22 11:21] – peter | ubuntu:cpu:display_the_number_of_processors [2021/06/22 11:22] (current) – peter | ||
---|---|---|---|
Line 38: | Line 38: | ||
On-line CPU(s) list: 0-23 | On-line CPU(s) list: 0-23 | ||
NUMA node0 CPU(s): | NUMA node0 CPU(s): | ||
+ | </ | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== Using nproc ===== | ||
+ | |||
+ | <code bash> | ||
+ | nproc | ||
+ | </ | ||
+ | |||
+ | returns: | ||
+ | |||
+ | <code bash> | ||
+ | 24 | ||
</ | </ | ||
ubuntu/cpu/display_the_number_of_processors.1624360889.txt.gz · Last modified: 2021/06/22 11:21 by peter