Difference between revisions of "Ps"

From wikieduonline
Jump to navigation Jump to search
 
(12 intermediate revisions by 4 users not shown)
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>ps auxwwwe</code>
+
* <code>-L    Show threads, possibly with LWP and [[NLWP]] columns.</code>
 +
 
 +
* <code>[[ps auxwwwe]]</code>
 
::<code>e</code> show the enviroment after the command
 
::<code>e</code> show the enviroment after the command
  
Line 16: Line 18:
 
* <code>ps -aux --sort -time</code>
 
* <code>ps -aux --sort -time</code>
  
 +
* <code>[[ps -p]] $[[PID]]</code>
 +
 +
* <code>[[ps axf]]</code>
 +
 +
* <code>ps -ef</code>
  
* [[ps axf]]
+
* <code>[[ps -A]]</code>
  
 
== Related terms ==
 
== Related terms ==
Line 27: Line 34:
 
* <code>[[docker ps]]</code>
 
* <code>[[docker ps]]</code>
 
* <code>[[ecs-cli ps]]</code>
 
* <code>[[ecs-cli ps]]</code>
* <code>[[/proc/cmdline]]</code>, <code>/proc/1/[[cmdline]]</code>
+
* <code>[[/proc/cmdline]]</code>, <code>[[/proc/1/cmdline]]</code>
 +
* <code>[[crictl ps]]</code>
  
 
== See also ==
 
== See also ==

Latest revision as of 17:05, 15 October 2024

Advertising: