print friendly version

Questions and answers

837
How can I get a list of all the processes that I have running on the Unix server?


The commands described below need to be entered while logged in to the Unix server.   Normally you'll see a prompt ending with $ when the command interpreter (or shell) is ready for another command.

You can use the following command to obtain such a list:

ps -fu userid

where userid is your own User ID (username). For example, suppose your User ID is ano23, then the command

ps -fu ano23

is the command to give.

The report given by this command is in columnar form, and shows such information as the process ID number of the process, when it started, and how much processor time it has used. The command associated with the process is also shown.

There will always be at least one process shown, because your login session (shell) is a process in itself.

Help us to improve this answer

Please suggest an improvement
(login needed, link opens in new window)

Your views are welcome and will help other readers of this page.

Categories

This is question number 837, which appears in the following categories:

Created by Andy Clews on 10 August 2001 and last updated by Andy Clews on 4 August 2015