Difference between revisions of "Ps"
Jump to navigation
Jump to search
(4 intermediate revisions by the same user not shown) | |||
Line 10: | Line 10: | ||
* <code>-L Show threads, possibly with LWP and [[NLWP]] columns.</code> | * <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 | ||
Line 18: | Line 18: | ||
* <code>ps -aux --sort -time</code> | * <code>ps -aux --sort -time</code> | ||
− | * [[ps -p]] $[[PID]] | + | * <code>[[ps -p]] $[[PID]]</code> |
* <code>[[ps axf]]</code> | * <code>[[ps axf]]</code> | ||
Line 34: | 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/ | + | * <code>[[/proc/cmdline]]</code>, <code>[[/proc/1/cmdline]]</code> |
* <code>[[crictl ps]]</code> | * <code>[[crictl ps]]</code> | ||
Latest revision as of 17:05, 15 October 2024
ps
- report current processes on the system. ps is include in procps
package.
http://man7.org/linux/man-pages/man1/ps.1.html
Examples[edit]
-L Show threads, possibly with LWP and NLWP columns.
e
show the enviroment after the command
ps -u USERNAME
ps -aux --sort -time
ps -ef
Related terms[edit]
tasklist
(Windows)- Control Panel (Windows)
- Activity Monitor (macOS)
ps fxa
, pstree- Zombie process
docker ps
ecs-cli ps
/proc/cmdline
,/proc/1/cmdline
crictl ps
See also[edit]
top
,ntop
,htop
,atop
,iotop
,systemd-cgtop
,virt-top
,stress
,slabtop
,docker stats
,docker top
,docker container top
,docker-compose top
,nmon
,tload
,kubectl top pod PODNAME
,sar
,kubectl top
,glances
,vmstat, gpustat, asitop
- Process, zombie process, fork, thread:
ps
,tree
,pstree
,ps axf
,proc
,pwdx
,which
,watch
,sar -q
,tload
,uptime
, Interrupts,pgrep
,tasklist
(Windows), Zombie process,pstack
,docker ps
,docker-compose ps
,jobs
,acct
,process mrelease
,pidstat
, IPC,pidof
- Cisco IOS:
show process
,show stacks
Advertising: