Linux Processes

From rbachwiki
Revision as of 16:02, 26 March 2019 by Bacchas (talk | contribs)
Jump to navigation Jump to search

Viewing Processes

PS Commands
Kill Signals
Kill Signals
ps # view process that are running in the current shell
ps -f # Displays PID

Display an entire list of processes across all terminals and including daemons

ps -ef

Some options to the ps command are not prefixed by a dash character; these are referred to as Berkeley-style options. The two most common of these are the a option, which lists all processes across terminals, and the x option, which lists processes that do not run on a terminal

ps ax
ps -l

View Zombie Process

ps -el | grep Z

Top Command

press h key while in the top command to see a list of options

top

Killing Processes

Kill signal have many options

kill -1