JANOS Help System: [Commands] [Topics] [Tech Support] [Printable Manual] [Search]
PS User Commands NAME ps - Process List SYNOPSIS ps [OPTIONS] DESCRIPTION Lists currently active processes along with the Process ID (PID). This command also displays the current uptime. -V Provides additional process information. runtime - Total runtime accumulated mem - Amount of memory in use (KB) msg - Number of inter-process messages pending (should be 0) hnd - Number of handles allocated stk - Maximum stack usage (percent) frm - Count of Stack frames (Applications) NOTES Developers want to insure that an application does not monopolize CPU resources. An application abnormally accumulating runtime may benefit from the use of process sleep() and yield() functions where appropriate. Stack usage above 50% should be watched carefully. Use of recursive routines in programs can drive stack usage up. A program will assert and stop should it use up the available stack space. Handles are required for various I/O activities and should be released if no longer required. These are a limited resource as well. Inter-process messaging is essential in creating functionality like custom protocols. The application program creates a message pump/queue in order to send and receive such messages. It is imperative that the queue be serviced promptly. A building msg count signals a messaging issue which certainly will impact system performance. SEE ALSO HELP Topics: THD, KILL [/flash/manpages/manpages.hlp:3025]