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 either ps -fu username or ps x .

Replace username with your username.

For more information, consult the online manual 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?

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 the Knowledge Base.
Last modified on 2017-05-16 11:52:27.

Contact us

For help or to comment, email the UITS Support Center.