NPROC(1) | General Commands Manual | NPROC(1) |
nproc
— print the
number of processors
nproc |
[-a ] |
By default nproc
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
-a
option.
The nproc
utility exits 0 on
success, and >0 if an error occurs.
A nproc
utility first appeared in
FreeBSD 13.2 and GNU Coreutils 8.1 (2009-11-18).
Haelwenn (lanodan) Monnier <contact+utils@hacktivis.me>
2023-10-02 | Linux 6.6.67-gentoo-x86_64 |