Difference between revisions of "Ps"

From wikieduonline
Jump to navigation Jump to search
Line 7: Line 7:
 
== Examples ==
 
== Examples ==
 
* [[Threads]]: <code>ps -efL</code> or <code>[[pstree]] -p PID</code> or <code>[[ps fxa]]</code>
 
* [[Threads]]: <code>ps -efL</code> or <code>[[pstree]] -p PID</code> or <code>[[ps fxa]]</code>
  -L    Show threads, possibly with LWP and [[NLWP]] columns.
+
 
 +
* <code>-L    Show threads, possibly with LWP and [[NLWP]] columns.</code>
 +
 
 
* <code>ps auxwwwe</code>
 
* <code>ps auxwwwe</code>
 
::<code>e</code> show the enviroment after the command
 
::<code>e</code> show the enviroment after the command

Revision as of 14:48, 6 April 2022

ps - report current processes on the system. ps is include in procps package.

http://man7.org/linux/man-pages/man1/ps.1.html


Examples

  • -L Show threads, possibly with LWP and NLWP columns.
  • ps auxwwwe
e show the enviroment after the command


  • ps -u USERNAME
  • ps -aux --sort -time


Related terms

See also

Advertising: