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:
parent
589af85549
commit
c29f15614e
1 changed files with 15 additions and 0 deletions
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}}`
|
Loading…
Add table
Reference in a new issue