commit | f1408affccac77d2a9263375f3a7a58352c80b3e | [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 | cfb57675934d121c560431911c8bc7ddded0a2fc [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>