Process Commands

Command Description

top

Lists all processes, sorted by CPU percentage with the highest at the top of the list.

ps -eaf | grep program

Lists all processes and their IDs associated with the specified program. Wildcard characters can be used to list a group of related programs (for example, gw*).

ps -aux | grep username

Lists all processes and their IDs associated with the specified user.

kill process_ID

Stops the specified process like a normal exit.

kill -9 process_ID

Stops the specified process after it has failed to exit normally. Temporary files are not cleaned up.

killall program

Kills all processes associated with the specified program.

xkill

Closes the window that you click on with the resulting box-shaped cursor.