ps命令查看子进程


[root@centos7 log]# ps -f -e -o pid,ppid,pgid,comm
PID PPID PGID COMMAND
5070 5068 5070 bash
7169 5070 7169 \_ bash
7173 7169 7169 \_ bash
7179 7173 7169 | \_ bzip2
7174 7169 7169 \_ bash
7180 7174 7169 | \_ bzip2
7175 7169 7169 \_ bash
7181 7175 7169 | \_ bzip2
7176 7169 7169 \_ bash
7182 7176 7169 | \_ bzip2
7177 7169 7169 \_ bash
7178 7177 7169 \_ bzip2
2290 2288 2290 bash
7183 2290 7183 \_ ps
1675 1638 1675 bash
817 1 817 agetty

 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM