Difference between revisions of "Ps"

From Linuxintro
imported>ThorstenStaerk
imported>ThorstenStaerk
Line 1: Line 1:
ps is a [[command]] to list all processes. You can invoke it like this:
+
ps is a [[command]] to list all [[processes]]. You can invoke it like this:
 
  ps
 
  ps
 
  ps -A
 
  ps -A
 
  ps -ef
 
  ps -ef
 
  ps -auxf
 
  ps -auxf
 +
 +
= Usecases =
 +
* Show all running processes
 +
ps auxf | grep -E "^[^ ]+ +[^ ]+ +[^ ]+ +[^ ]+ +[^ ]+ +[^ ]+ +[^ ]+ +R"
  
 
= See also =
 
= See also =
 
* [http://man-wiki.net/index.php/ps ps' man page]
 
* [http://man-wiki.net/index.php/ps ps' man page]

Revision as of 09:44, 12 May 2009

ps is a command to list all processes. You can invoke it like this:

ps
ps -A
ps -ef
ps -auxf

Usecases

  • Show all running processes
ps auxf | grep -E "^[^ ]+ +[^ ]+ +[^ ]+ +[^ ]+ +[^ ]+ +[^ ]+ +[^ ]+ +R"

See also