Linux nproc Command
What is Linux nproc Command?
In this tutorial we learn how to use nproc command in Linux. nproc command is nproc - print the number of processing units available.
nproc Syntax
nproc [OPTION]...nproc Examples
nproc Command Manual / Help
We can use man and info command to see the manual page of nproc command. nproc command also have --help option to show list of options.
To open man page for nproc command we can use command below. To exit man or info page you can press q.
man nprocTo open info page for nproc command we can use command below.
info nprocTo open help page from nproc command we can run command below.
nproc --helpLinux nproc Command Source Code
You can find nproc command source code from the folowing repositories:
- nproc source code on GitHub
- nproc source code on GNU Savannah cgit
- nproc source code on GNU Savannah gitweb
Related Linux Commands
You can read tutorials of related Linux commands below:
Summary
In this tutorial we learn how to use nproc in Linux with practical examples. Visit our Linux Commands guide to learn more about using command line interface in Linux.