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:
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?
Last modified on May 11, 2009.







