nproc.1 (717B)
- .\" utils-std: Collection of commonly available Unix tools
- .\" Copyright 2017 Haelwenn (lanodan) Monnier <contact+utils@hacktivis.me>
- .\" SPDX-License-Identifier: MPL-2.0
- .Dd 2023-10-02
- .Dt NPROC 1
- .Os
- .Sh NAME
- .Nm nproc
- .Nd print the number of processors
- .Sh SYNOPSIS
- .Nm
- .Op Fl a
- .Sh DESCRIPTION
- By default
- .Nm
- prints the number of currently available processors to run processes.
- This may be lower than the number of processors which can be made available, which you can see via the
- .Fl a
- option.
- .Sh EXIT STATUS
- .Ex -std
- .Sh SEE ALSO
- .Xr sysconf 3
- .Sh HISTORY
- A
- .Nm
- utility first appeared in
- .Fx 13.2
- and
- GNU Coreutils 8.1 (2009-11-18).
- .Sh AUTHORS
- .An Haelwenn (lanodan) Monnier Aq Mt contact+utils@hacktivis.me