Difference between revisions of "Ps"

From wikieduonline
Jump to navigation Jump to search
 
(49 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 +
{{lc}}
 +
<code>ps</code> - report current [[processes]] on the system. ps is include in <code>[[procps]]</code> package.
  
 +
http://man7.org/linux/man-pages/man1/ps.1.html
  
  
* Threads: <code>ps -efL</code> or <code>[[pstree]] -p PID</code>
+
== Examples ==
 +
* [[Threads]]: <code>ps -efL</code> or <code>[[pstree]] -p PID</code> or <code>[[ps fxa]]</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
  
  
== See also ==
+
* <code>ps -u USERNAME</code>
* <code>sar -q<code>
+
 
 +
* <code>ps -aux --sort -time</code>
 +
 
 +
* <code>[[ps -p]] $[[PID]]</code>
 +
 
 +
* <code>[[ps axf]]</code>
 +
 
 +
* <code>ps -ef</code>
 +
 
 +
* <code>[[ps -A]]</code>
  
 +
== Related terms ==
 +
* <code>[[tasklist]]</code> (Windows)
 +
* [[Control Panel (Windows)]]
 +
* [[Activity Monitor (macOS)]]
 +
* <code>[[ps]] fxa</code>, [[pstree]]
 +
* [[Zombie process]]
 +
* <code>[[docker ps]]</code>
 +
* <code>[[ecs-cli ps]]</code>
 +
* <code>[[/proc/cmdline]]</code>, <code>[[/proc/1/cmdline]]</code>
 +
* <code>[[crictl ps]]</code>
  
 +
== See also ==
 +
* {{top}}
 +
* {{ps}}
 +
* [[Cisco IOS]]: <code>[[show process]]</code>, <code>[[show stacks]]</code>
  
 
[[Category:Linux]]
 
[[Category:Linux]]

Latest revision as of 17:05, 15 October 2024

Advertising: