Managing Systems and Workgroups: A Guide for HP-UX System Administrators

Configuring a System
Reconfiguring the Kernel (HP-UX 11i Version 2)
Chapter 3336
Maximum number of processes for each non-root user
nproc 4200 Default Immed
Maximum number of processes on the system
The -g option adds the name of the module defining the tunable, and
sorts the output by module name. This has the effect of grouping related
tunables together in the output.
Module Tunable Value Expression Changes
acct acctresume 4 Default
pm maxuprc 256 Default Immed
pm nproc 4200 Default Immed
The -v option gives verbose, multiline information about each tunable:
Tunable acctresume
Description Percentage of disk space that must be free to resume accounting
Module pm
Current Value 4 [Default]
Value at Next Boot 4 [Default]
Value at Last Boot 4
Default Value 4
Constraints acctresume >= -100
acctresume <= 101
acctresume > acctsuspend
Can Change At Next Boot Only
Tunable nproc
Description Maximum number of processes on the system
Module pm
Current Value 4200 [Default]
Value at Next Boot 4200 [Default]
Value at Last Boot 4200
Default Value 4200
Constraints nproc >= 100
nproc <= 30000
nproc >= maxuprc + 5
nproc <= nkthread – 100
nproc >= semmnu + 4
Can Change Immediately or at Next Boot
The -P option, which is designed for use by scripts or programs, gives you
complete control over what information is printed:
# kctune -P name,current acctresume nproc
name acctresume
current 4
name nproc
current 4200