| 1 |
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.50.1. |
| 2 |
.TH NPROC "1" "February 2026" "GNU coreutils 9.10" "User Commands" |
| 3 |
.SH NAME |
| 4 |
nproc \- print the number of processing units available |
| 5 |
.SH SYNOPSIS |
| 6 |
.B nproc |
| 7 |
[\fI\,OPTION\/\fR]... |
| 8 |
.SH DESCRIPTION |
| 9 |
.\" Add any additional description here |
| 10 |
.PP |
| 11 |
Print the number of processing units available to the current process, |
| 12 |
which may be less than the number of online processors. |
| 13 |
If the 'OMP_NUM_THREADS' or 'OMP_THREAD_LIMIT' environment variables are set, |
| 14 |
then they will determine the minimum and maximum returned value respectively. |
| 15 |
.TP |
| 16 |
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#nproc--all'\fB\-\-all\fP\X'tty: link' |
| 17 |
print the number of installed processors, |
| 18 |
disregarding any OpenMP environment variables, or CPU quotas. |
| 19 |
.TP |
| 20 |
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#nproc--ignore'\fB\-\-ignore=N\fP\X'tty: link' |
| 21 |
if possible, exclude N processing units. |
| 22 |
The result is guaranteed to be at least 1. |
| 23 |
.TP |
| 24 |
\X'tty: link https://www.gnu.org/software/coreutils/nproc#nproc--help'\fB\-\-help\fP\X'tty: link' |
| 25 |
display this help and exit |
| 26 |
.TP |
| 27 |
\X'tty: link https://www.gnu.org/software/coreutils/nproc#nproc--version'\fB\-\-version\fP\X'tty: link' |
| 28 |
output version information and exit |
| 29 |
.SH AUTHOR |
| 30 |
Written by Giuseppe Scrivano. |
| 31 |
.SH "REPORTING BUGS" |
| 32 |
Report bugs to: bug\[email protected] |
| 33 |
.br |
| 34 |
GNU coreutils home page: <https://www.gnu.org/software/coreutils/> |
| 35 |
.br |
| 36 |
General help using GNU software: <https://www.gnu.org/gethelp/> |
| 37 |
.br |
| 38 |
Report any translation bugs to <https://translationproject.org/team/> |
| 39 |
.SH "SEE ALSO" |
| 40 |
Full documentation <https://www.gnu.org/software/coreutils/nproc> |
| 41 |
.br |
| 42 |
or available locally via: info \(aq(coreutils) nproc invocation\(aq |
| 43 |
.PP |
| 44 |
.br |
| 45 |
Packaged by Debian (9.10\-1) |
| 46 |
.br |
| 47 |
Copyright \(co 2026 Free Software Foundation, Inc. |
| 48 |
.br |
| 49 |
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>. |
| 50 |
.br |
| 51 |
This is free software: you are free to change and redistribute it. |
| 52 |
.br |
| 53 |
There is NO WARRANTY, to the extent permitted by law. |