Difference between revisions of "Nproc"
Jump to navigation
Jump to search
(Created page with "{{Draft}} == See also == * {{CPU}}") Tags: Mobile web edit, Mobile edit |
|||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | {{ | + | {{lc}} |
+ | nproc | ||
+ | 8 | ||
+ | nproc --help | ||
+ | Usage: nproc [OPTION]... | ||
+ | Print the number of processing units available to the current process, | ||
+ | which may be less than the number of online processors | ||
+ | |||
+ | --all print the number of installed processors | ||
+ | --ignore=N if possible, exclude N processing units | ||
+ | --help display this help and exit | ||
+ | --version output version information and exit | ||
+ | |||
+ | GNU coreutils online help: <https://www.gnu.org/software/coreutils/> | ||
+ | Full documentation <https://www.gnu.org/software/coreutils/nproc> | ||
+ | or available locally via: info '(coreutils) nproc invocation' | ||
+ | |||
+ | == Usage examples == | ||
+ | [[phpbrew install]] [[-j]] $(nproc) 8.0 +default | ||
== See also == | == See also == | ||
* {{CPU}} | * {{CPU}} | ||
+ | |||
+ | [[Category:Computing]] |
Latest revision as of 08:45, 20 June 2022
nproc 8
nproc --help Usage: nproc [OPTION]... Print the number of processing units available to the current process, which may be less than the number of online processors
--all print the number of installed processors --ignore=N if possible, exclude N processing units --help display this help and exit --version output version information and exit
GNU coreutils online help: <https://www.gnu.org/software/coreutils/> Full documentation <https://www.gnu.org/software/coreutils/nproc> or available locally via: info '(coreutils) nproc invocation'
Usage examples[edit]
phpbrew install -j $(nproc) 8.0 +default
See also[edit]
- CPU, GPU, NPU, TPU, DPU, Groq, Proliant, thread (
Pthreads
), processor, CPU socket, core, ARM , CPU Virtualization, Intel, AMD,nm
,lscpu
, AVX-512, Passthrough, CPU intensive, Graviton processor, Branch predictor, vCPU, SSE, Power
Advertising: