commit | 84f0415201e57e1919a2c91684e64bdedd85d159 | [log] [tgz] |
---|---|---|
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | Mon Jan 27 07:59:46 2020 +0100 |
committer | Tom Rini <trini@konsulko.com> | Thu Jan 30 13:30:35 2020 -0500 |
tree | a7965da1bac5321009bfe9e4919e5555c433c134 | |
parent | 0f97e923d4921a057e1a7bbfac170cadefde5624 [diff] |
Consistently use nproc for counting the CPUs Coreutils command nproc can be used on Linux and BSD to count the number of available CPU cores. Use this instead of relying on the parsing of the Linux specific proc file system. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>