1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-31 22:15:33 +02:00

nproc: add page (#2263)

This commit is contained in:
Starbeamrainbowlabs 2018-09-02 09:39:40 +01:00 committed by Agniva De Sarker
parent 589af85549
commit c29f15614e

15
pages/linux/nproc.md Normal file
View 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}}`