[ Previous | Next | Contents | Glossary | Home | Search ]
AIX Version 4.3 Problem Solving Guide and Reference

Free a Terminal Taken Over by Processes

Identify and stop stalled or unwanted processes by doing the following:

  1. Determine the active processes running on the screen by using the following ps command:
    ps -ef | pg

    The ps command shows the process status. The -e flag writes information about all processes (except kernel processes), and the -f flag generates a full listing of processes including what the command name and parameters were when the process was created. The pg command limits output to a single page at a time, so information does not quickly scroll off the screen.

    Suspicious processes include system or user processes that use up excessive amounts of a system resource such as CPU or disk space. System processes such as sendmail, routed, and lpd frequently become runaways. Use the ps u command to check CPU usage.

  2. Determine who is running processes on this machine by using the who command:
    who

    The who command displays information about all users currently on this system, such as login name, workstation name, date, and time of login.

  3. Determine if you need to stop, suspend, or change the priority of a user process.
    Note: You must have root authority to stop processes other than your own. If you terminate or change the priority of a user process, contact the process owner and explain what you have done.
  4. If your terminal does not return to normal operation after you complete the above procedures, follow the diagnostic procedures in "Hardware Diagnostics" .

[ Previous | Next | Contents | Glossary | Home | Search ]