查看进程 ps aux 查看进程树 ps -elf
查看进程
ps aux
查看进程树
ps -elf
root@5ec226415336:/var/www/html# ps aux
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.0 0.3 92632 31264 ? Ss 15:15 0:00 php-fpm: master process (/usr/local/etc/php-fpm.conf)
www-data 7 0.0 0.1 92632 11068 ? S 15:15 0:00 php-fpm: pool www
www-data 8 0.0 0.1 92632 11068 ? S 15:15 0:00 php-fpm: pool www
root 9 0.0 0.0 2576 916 pts/0 Ss 16:10 0:00 /bin/sh
root 17 0.0 0.0 4188 3328 pts/0 S 16:11 0:00 bash
root 18 0.0 0.0 8112 4064 pts/0 R+ 16:11 0:00 ps aux
root@5ec226415336:/var/www/html# ps -elf
F S UID PID PPID C PRI NI ADDR SZ WCHAN STIME TTY TIME CMD
4 S root 1 0 0 80 0 - 23158 - 15:15 ? 00:00:00 php-fpm: master process (/usr/local/etc/php-fpm.conf)
5 S www-data 7 1 0 80 0 - 23158 - 15:15 ? 00:00:00 php-fpm: pool www
5 S www-data 8 1 0 80 0 - 23158 - 15:15 ? 00:00:00 php-fpm: pool www
4 S root 9 0 0 80 0 - 644 do_wai 16:10 pts/0 00:00:00 /bin/sh
4 S root 17 9 0 80 0 - 1047 do_wai 16:11 pts/0 00:00:00 bash
0 R root 19 17 0 80 0 - 2028 - 16:11 pts/0 00:00:00 ps -elf
转载注明:
感谢博主,喝杯咖啡~
感谢博主,喝杯咖啡~
还没有人发表评论