Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

nproc(1) [x11r4 man page]

NPROC(1)							   User Commands							  NPROC(1)

NAME
nproc - print the number of processing units available SYNOPSIS
nproc [OPTION]... DESCRIPTION
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 AUTHOR
Written by Giuseppe Scrivano. REPORTING BUGS
GNU coreutils online help: <http://www.gnu.org/software/coreutils/> Report nproc translation bugs to <http://translationproject.org/team/> COPYRIGHT
Copyright (C) 2017 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. SEE ALSO
Full documentation at: <http://www.gnu.org/software/coreutils/nproc> or available locally via: info '(coreutils) nproc invocation' GNU coreutils 8.28 January 2018 NPROC(1)

Check Out this Related Man Page

NPROC(1)							   User Commands							  NPROC(1)

NAME
nproc - print the number of processing units available SYNOPSIS
nproc [OPTION]... DESCRIPTION
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 AUTHOR
Written by Giuseppe Scrivano. REPORTING BUGS
Report nproc bugs to bug-coreutils@gnu.org GNU coreutils home page: <http://www.gnu.org/software/coreutils/> General help using GNU software: <http://www.gnu.org/gethelp/> Report nproc translation bugs to <http://translationproject.org/team/> COPYRIGHT
Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. SEE ALSO
The full documentation for nproc is maintained as a Texinfo manual. If the info and nproc programs are properly installed at your site, the command info coreutils 'nproc invocation' should give you access to the complete manual. GNU coreutils 8.12.197-032bb September 2011 NPROC(1)
Man Page

4 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

SFTP - accidentally removing unprocessed records

I have an automated sftp process running on a Linux server that is securely connecting to an insurance company server whereby the insurance company places work assignments into a directory on their windows server (running VanDyke Vshell). My unattended (background) process runs every minute.... (8 Replies)
Discussion started by: jeffvansan
8 Replies

2. UNIX for Dummies Questions & Answers

Nofiles & nproc change on RHEL not taking effect

I am installing a statistical applicaton and for its web components it is a listed requirement that I have soft limits of files (20480) and no of processes (soft t o 10240). I am on RHEL 6.1. As root I made the following changes in /etc/security/limits.conf * soft nproc 10240 * hard nproc... (4 Replies)
Discussion started by: rsheikh01
4 Replies

3. UNIX for Dummies Questions & Answers

How to confirm that I've reached the nproc limit?

Hi, I am getting the error su: cannot set user id: Resource temporarily unavailable. In limits.conf, it shows soft nproc 2047 for this user. ps H -u | wc -l shows 508 processes only. Linux flavour is Red Hat Enterprise Linux Server release 5.10 (Tikanga) Any advice will be much... (1 Reply)
Discussion started by: newbie_01
1 Replies

4. UNIX for Dummies Questions & Answers

Soft and hard limits for nproc value in /etc/security/limits.conf file (Linux )

OS version : RHEL 6.5 Below is an excerpt from /etc/security/limits.conf file for OS User named appusr in our server appusr soft nproc 2047 appusr hard nproc 16384 What will happen if appusr has already spawned 2047 processes and wants to spawn 2048th process ? I just want to know... (3 Replies)
Discussion started by: kraljic
3 Replies