Process Manager

The Process Manager is accessed by clicking the Running Processes icon (Figure 5-6). This page provides a list of all running processes grouped by lineage. Clicking a Process ID will provide more complete information about the process, including the command that was run, the parent process, the CPU usage, runtime, size, niceness level, and more.

click to expand
Figure 5-6: Running Processes

Niceness level is configurable. Niceness is a measure of how much processor time the process will be allowed compared to other processes on the system, and its values go from -20 (highest priority) to +20 (lowest priority).

Clicking the Files and Connections button provides a list of the files that are being used by the process, as well as a list of open file descriptors and details about each. The open files will often contain a number of shared libraries, configuration files, and possibly user files that have been open by the user of the process if it is a user application. Open network connections will provide information about what network connections exist for this process. In many cases, this list will only contain local loopback connections from 127.0.0.1, or this section of the page may not be present if the application has no network connections.

The module also offers several alternative views of the data, including sortingby user, memory usage, and CPU usage. Clicking the Search link provides the ability to filter on a given aspect of the process. Finally, the Run link provides a simple method of running a command, with optional arbitrary command-line input.

Similar information can be gained from the standard UNIX command ps on the command line. Niceness level of a process can be set from the command line using the nice command. Sending a signal to a process or terminating a process is achieved using the kill command. The list of files and connections is gathered using the lsof command.



The Book of Webmin... or How I Learned to Stop Worrying and Love UNIX
The Book of Webmin: Or How I Learned to Stop Worrying and Love UNIX
ISBN: 1886411921
EAN: 2147483647
Year: 2006
Pages: 142
Authors: Joe Cooper

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net