jobcount(1)

JOBCOUNT(1) General Commands Manual JOBCOUNT(1)

NAME

jobcount — prints the number of GNU Make jobserver free job slots

SYNOPSIS

jobcount

DESCRIPTION

Just for curiosity, statistics, or questionable usability, there's also a job count utility that prints the number of free job slots at the time of the call.

It works by trying to acquire up to 4096 job slots without blocking, then releasing them after printing the number of job slots acquired.

ENVIRONMENT

To communicate with jobserver the MAKEFLAGS environment variable must be set.

SEE ALSO

jobclient(1), jobserver(1), jobforce(1)

/usr/share/doc/jobclient*/README.md

AUTHORS

Simon Brenner (https://social.vivaldi.net/@olsner)

2024-10-30