logo

utils-std

Collection of commonly available Unix tools git clone https://anongit.hacktivis.me/git/utils-std.git/

nproc.1 (717B)


  1. .\" utils-std: Collection of commonly available Unix tools
  2. .\" Copyright 2017 Haelwenn (lanodan) Monnier <contact+utils@hacktivis.me>
  3. .\" SPDX-License-Identifier: MPL-2.0
  4. .Dd 2023-10-02
  5. .Dt NPROC 1
  6. .Os
  7. .Sh NAME
  8. .Nm nproc
  9. .Nd print the number of processors
  10. .Sh SYNOPSIS
  11. .Nm
  12. .Op Fl a
  13. .Sh DESCRIPTION
  14. By default
  15. .Nm
  16. prints the number of currently available processors to run processes.
  17. This may be lower than the number of processors which can be made available, which you can see via the
  18. .Fl a
  19. option.
  20. .Sh EXIT STATUS
  21. .Ex -std
  22. .Sh SEE ALSO
  23. .Xr sysconf 3
  24. .Sh HISTORY
  25. A
  26. .Nm
  27. utility first appeared in
  28. .Fx 13.2
  29. and
  30. GNU Coreutils 8.1 (2009-11-18).
  31. .Sh AUTHORS
  32. .An Haelwenn (lanodan) Monnier Aq Mt contact+utils@hacktivis.me