Home Menu

Process Management


Contents


Basics


Getting Process Information

The ps Command

Example

  • Process Selection Options
    These options specify the format of the output.

  • Sort Keys

    These keys specify the data that is too be output for each process that is displayed. There are two forms: the traditional and the standard. Since all of the traditional are subsumed by the standard forms, only those are shown. Altogether, there are over 100 of these options, so only the most important are shown in the table.


    Controlling Processes

    Limiting a Process

    Killing a Process

    Setting Process Priority

    Monitoring Processes

    Monitoring processes is a key activity in system administration. You need to be aware of processes that are negatively impacting performance or could represent security breaches. Below are listed some tools for accomplishing this:

    Other

    Logging

    syslogd

    klogd

    There is a separate process for logging kernel messages named klogd but it reads the /etc/syslog.conf file for its configuration. Of course, it only deals with the kern facility. Many kernel messages should come to the console to insure that they are given top priority, but there are exceptions. For example, iptables are a kernel level function.

    klogd is typically started along with syslogd as the syslog service.

    Scheduling

    cron jobs

    crontab

    swatch