logo

utils-std

Collection of commonly available Unix tools

nproc.1 (654B)


  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 STANDARDS
  25. None known.
  26. .Sh AUTHORS
  27. .An Haelwenn (lanodan) Monnier Aq Mt contact+utils@hacktivis.me