1NPROC(1) User Commands NPROC(1)
2
3
4
6 nproc - print the number of processing units available
7
9 nproc [OPTION]...
10
12 Print the number of processing units available to the current process,
13 which may be less than the number of online processors
14
15 --all print the number of installed processors
16
17 --ignore=N
18 if possible, exclude N processing units
19
20 --help display this help and exit
21
22 --version
23 output version information and exit
24
26 Written by Giuseppe Scrivano.
27
29 GNU coreutils online help: <https://www.gnu.org/software/coreutils/>
30 Report any translation bugs to <https://translationproject.org/team/>
31
33 Copyright © 2022 Free Software Foundation, Inc. License GPLv3+: GNU
34 GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
35 This is free software: you are free to change and redistribute it.
36 There is NO WARRANTY, to the extent permitted by law.
37
39 Full documentation <https://www.gnu.org/software/coreutils/nproc>
40 or available locally via: info '(coreutils) nproc invocation'
41
42
43
44GNU coreutils 9.1 January 2023 NPROC(1)