Ps 命令有三个版本
ps aux | more
ps axjf | more
PPID PID PGID SID TTY TPGID STAT UID TIME COMMAND
0 2 0 0 ? -1 S 0 0:00 [kthreadd]
2 3 0 0 ? -1 I< 0 0:00 \_ [rcu_gp]
2 4 0 0 ? -1 I< 0 0:00 \_ [rcu_par_gp]
2 5 0 0 ? -1 I< 0 0:00 \_ [netns]
2 7 0 0 ? -1 I< 0 0:00 \_ [kworker/0:0H-events_highpri]
2 10 0 0 ? -1 I< 0 0:00 \_ [mm_percpu_wq]
2 11 0 0 ? -1 S 0 0:00 \_ [rcu_tasks_rude_]
2 12 0 0 ? -1 S 0 0:00 \_ [rcu_tasks_trace]
2 13 0 0 ? -1 S 0 0:00 \_ [ksoftirqd/0]
2 14 0 0 ? -1 I 0 0:13 \_ [rcu_sched]
2 15 0 0 ? -1 S 0 0:00 \_ [migration/0]
2 16 0 0 ? -1 S 0 0:00 \_ [idle_inject/0]
2 17 0 0 ? -1 S 0 0:00 \_ [cpuhp/0]
2 18 0 0 ? -1 S 0 0:00 \_ [cpuhp/1]
使用场景