logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

nproc - Print the number of cores available to the current process. If the `OMP_NUM_THREADS` or

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.

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.

Options

--all  print the number of cores available to the system

       --ignore=N
              ignore up to N cores

       -h, --help
              Print help

       -V, --version
              Print version

Synopsis

nproc [--all] [--ignore] [-h|--help] [-V|--version]

Version

       v0.0.30

                                                  nproc 0.0.30                                          nproc(1)

See Also