Difference between revisions of "Nproc"

From wikieduonline
Jump to navigation Jump to search
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Draft}}
 
 
{{lc}}
 
{{lc}}
 +
nproc
 +
8
  
 +
nproc --help
 +
Usage: nproc [OPTION]...
 +
Print the number of processing units available to the current process,
 +
which may be less than the number of online processors
  
  phpbrew install [[-j]] $(nproc) 8.0 +default
+
      --all      print the number of installed processors
 +
      --ignore=N if possible, exclude N processing units
 +
      --help        display this help and exit
 +
      --version    output version information and exit
 +
 
 +
GNU coreutils online help: <https://www.gnu.org/software/coreutils/>
 +
Full documentation <https://www.gnu.org/software/coreutils/nproc>
 +
or available locally via: info '(coreutils) nproc invocation'
 +
 
 +
== Usage examples ==
 +
[[phpbrew install]] [[-j]] $(nproc) 8.0 +default
  
  

Latest revision as of 08:45, 20 June 2022

nproc
8

nproc --help Usage: nproc [OPTION]... Print the number of processing units available to the current process, which may be less than the number of online processors

     --all      print the number of installed processors
     --ignore=N  if possible, exclude N processing units
     --help        display this help and exit
     --version     output version information and exit

GNU coreutils online help: <https://www.gnu.org/software/coreutils/> Full documentation <https://www.gnu.org/software/coreutils/nproc> or available locally via: info '(coreutils) nproc invocation'

Usage examples[edit]

phpbrew install -j $(nproc) 8.0 +default


See also[edit]

Advertising: