nproc: add page (#2263)
This commit is contained in:

committed by
Agniva De Sarker

parent
589af85549
commit
c29f15614e
15
pages/linux/nproc.md
Normal file
15
pages/linux/nproc.md
Normal file
@@ -0,0 +1,15 @@
|
||||
# nproc
|
||||
|
||||
> Print the number of processing units (normally CPUs) available.
|
||||
|
||||
- Display the number of available processing units:
|
||||
|
||||
`nproc`
|
||||
|
||||
- Display the number of installed processing units, including any inactive ones:
|
||||
|
||||
`nproc --all`
|
||||
|
||||
- If possible, subtract a given number of units from the returned value:
|
||||
|
||||
`nproc --ignore {{count}}`
|
Reference in New Issue
Block a user