Prints the number of available processor units.
nproc [OPTION]...
--all Print the number of installed processors.
--ignore=N Exclude N processing units if possible.
--help Display help information and exit.
--version Display version information and exit.
[root@localhost ~]# nproc
8
This command is a command in the GNU coreutils package. For related help information, please see man -s 1 nproc, info coreutils 'nproc invocation'.
优先推荐相关内容,同时保留你的阅读轨迹和收藏入口。