Difference between revisions of "Linux Processes"

From rbachwiki
Jump to navigation Jump to search
(Created page with "==Viewing Processes== 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...")
 
Line 1: Line 1:
==Viewing Processes==
==Viewing Processes==
[[File:PsCommand.jpg|thumb|PS Commands]]
  ps # view process that are running in the current shell
  ps # view process that are running in the current shell
  ps -f # Displays PID
  ps -f # Displays PID
'''Display an entire list of processes across all terminals and including daemons'''
'''Display an entire list of processes across all terminals and including daemons'''
  ps -ef
  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

Revision as of 20:29, 19 March 2019

Viewing Processes

PS Commands
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