kcusage.1m (2012 03)

k
kcusage(1M) kcusage(1M)
max_thread_proc
kcusage shows the maximum number of kernel threads in use by any process on the system.
max_thread_proc should be set high enough that well behaved applications can get their work done,
but low enough that a new process that allocates its limit of threads cannot take all of the threads on the
system. Check the usage data for nkthread to know how many threads are usually free.
kcusage shows the number of threads allocated by the top five processes on the system.
msgmni
The usage data for msgmni is the number of message queues in use system wide.
msgmbs
The usage data for msgmbs is the number of message queues in megabytes in the system at any one
time.
msgtql
The usage data for msgtql is the number of messages in queues system wide.
Because data is found by polling, this will often be zero unless a message queue is busy enough that some
messages stay in the queue for a non-zero length of time.
nflocks
nflocks sets a limit on the total number of file locks that can be created on the system as any given
moment. kcusage shows the number of file locks that are in use, system wide.
ninode
kcusage data for ninode gives the number of inode records (HFS + VxFS) in the inode cache.
nkthread
The usage data for nkthread is the number of kernel threads in use system wide. The processes that are
the top five users of threads can be found by looking at the data for max_thread_proc.
When the nkthread limit is reached the fork(2) and pthread_create(3T) system calls will fail.
nproc
The usage data for nproc is the number of processes in use system wide. The top fives users of process
can be found by looking at the data for maxuprc.
When the nproc limit is reached, the fork(2) system call will fail.
npty
The usage data for npty is the number of pseudo terminals in use system wide. Locally running terminal
emulators, such as dtterm(1), tend to use pseudo terminals.
nstrpty
The usage data for nstrpty is the number of stream pseudo terminals in use system wide. Running rlo-
gin(1) from another system to the local system is a common way that a stream pseudo terminal is used.
nstrtel
The usage data for nstrtel is the number of stream telnet(1) sessions in use system wide. Running telnet
from another system to the local system is a common way to allocate a stream telnet.
semmni
The usage data for semmni is the number of semaphore identifiers in use system wide. Each semaphore
identifier contains 1 to semmsl semaphores.
semmns
The usage data for semmns is the number of semaphores in use system wide.
shmmax
The usage data for shmmax shows the size of the largest shared memory segment on the system. Shared
memory is usually used to map shared libraries but can also be allocated programmatically to allow data
to be shared between two processes.
HP-UX 11i Version 3: March 2012 5 Hewlett-Packard Company 5