1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
|
[root@localhost ~]# ps -e PID TTY TIME CMD 1 ? 00:00:01 init 2 ? 00:00:00 kthreadd 3 ? 00:00:01 ksoftirqd/0 ...... 19 ? 00:00:00 migration/3 22 ? 00:00:00 kworker/3:0H ...... 94 ? 00:00:00 irq/86-msm_iomm ...... 99 ? 00:00:00 irq/109-msm_iom 100 ? 00:00:00 irq/112-msm_iom ...... 585 ? 00:00:00 rild 588 ? 00:00:00 qti 596 ? 00:00:00 netmgrd ...... 1085 ? 00:00:00 ad_calc_wq ...... 14353 ? 00:00:00 kworker/2:2 ...... 15648 ? 00:00:00 kworker/0:2 15697 ? 00:00:00 kworker/2:0 15730 pts/6 00:00:00 ps [root@localhost ~]#
|
1 2 3 4 5
|
[root@localhost ~]# ps -f UID PID PPID C STIME TTY TIME CMD root 15563 15561 0 19:00 pts/6 00:00:00 -bash root 15865 15563 0 19:07 pts/6 00:00:00 ps -f [root@localhost ~]#
|
1 2 3 4 5
|
[root@localhost ~]# ps -l F S UID PID PPID C PRI NI ADDR SZ WCHAN TTY TIME CMD 4 S 0 15563 15561 0 80 0 - 27424 do_wai pts/6 00:00:00 bash 0 R 0 15874 15563 0 80 0 - 27844 - pts/6 00:00:00 ps [root@localhost ~]#
|
https://www.runoob.com/linux/linux-comm-ps.html