Indiana University
University Information Technology Services
  
What are archived documents?
Login>>
Login

Login is for authorized groups (e.g., UITS, OVPIT, and TCC) that need access to specialized Knowledge Base documents. Otherwise, simply use the Knowledge Base without logging in.

Close

In Unix, how can I see my remaining processes from former sessions?

In Unix, you can display all processes, even those associated with sessions you have already quit, using the ps command. As there are two variations of this command, based on the two main flavors of Unix (System V and BSD), the exact syntax you use depends on your system. At the shell prompt, to display all processes, enter one of the following commands:

  • ps -fu username

  • ps x

Replace username with your username.

For more information, consult the online man page for the ps command. At your shell prompt, enter:

man ps

Dead sessions can occur because of a power failure on your system, network interruptions, or an otherwise abnormal signoff. When you log in again and attempt to restart a process, such as reading newsgroups or mail, you will be informed that such a process is already running. For specific instructions on killing idle processes, see In Unix, how do I kill another login session remotely?

Note: On the Unix systems Big Red and Quarry at Indiana University, you can list only remaining processes that are on the same node.

At Indiana University, for personal or departmental Linux or Unix systems support, see At IU, how do I get support for Linux or Unix?

This is document acaf in domain all.
Last modified on May 11, 2009.

Comments/Questions/Corrections

Use this form to offer suggestions, corrections, and additions to the Knowledge Base. We welcome your input!

If you are affiliated with Indiana University and would like assistance with a specific computing problem, please use the Ask a Consultant form, or contact your campus Support Center.

Contact Information

Note: We will reply to your comment at this address. If your message concerns a problem receiving email, please enter an alternate email address.