History log of /freebsd-current/bin/nproc/nproc.1
Revision Date Author Comments
# 1e078fb6 02-Jun-2023 Mateusz Piotrowski <0mp@FreeBSD.org>

nproc.1: Fix "first appeared in" details

nproc(1) has been MFC'ed into 13-STABLE and made it into 13.2-RELEASE.

MFC after: 3 days


# 059320b8 15-Feb-2023 Mateusz Guzik <mjg@FreeBSD.org>

nproc: denote an incompatiblity with Linux

On Linux _NPROCESSORS_CONF reports CPU threads disabled by the kernel,
while it does not on FreeBSD.

Flip _NPROCESSORS_ONLN to _NPROCESSORS_CONF. While it keeps reporting
the same value, it will automagically unbreak should someone change the
above.


# 6957cd86 10-Feb-2023 Konstantin Belousov <kib@FreeBSD.org>

man: some typesetting and style fixes for recent additions

Mostly start each sentence from a new line. Also add more pretty
typesetting to cdce(4).

Reviewed by: imp
Sponsored by: The FreeBSD Foundation
Differential revision: https://reviews.freebsd.org/D38501


# 48bfd359 04-Feb-2023 Mateusz Guzik <mjg@FreeBSD.org>

Add nproc(1)

This program prints the number of CPU threads it can run on, while
respecting cpusets (or not, depending on switches).

It aims to be compatible with nproc as found in GNU coreutils.

Reviewed by: des
Reviewed by: pstef
Differential Revision: https://reviews.freebsd.org/D38386