.ie \n(.g .ds Aq \(aq .el .ds Aq ' .TH NPROC 1 "2026-09-01" .SH NAME nproc \- Print the number of cores available to the current process. If the OMP_NUM_THREADS or OMP_THREAD_LIMIT environment variables are set, then they will determine the minimum and maximum returned value respectively. .SH SYNOPSIS \fBnproc\fR [OPTIONS]... .SH DESCRIPTION Print the number of cores available to the current process. If the OMP_NUM_THREADS or OMP_THREAD_LIMIT environment variables are set, then they will determine the minimum and maximum returned value respectively. .SH OPTIONS .TP \fB\-\-all\fR print the number of cores available to the system .TP \fB\-\-ignore\fR \fI\fR [default: 0] ignore up to N cores .TP \fB\-h\fR, \fB\-\-help\fR Print help .TP \fB\-V\fR, \fB\-\-version\fR Print version .SH VERSION v(uutils coreutils) 0.11.0