Linux进程查看,管理工具 | 您所在的位置:网站首页 › linux进程查看工具 › Linux进程查看,管理工具 |
浅谈linux下进程查看,管理工具 1.pstree 显示进程树。 显示各个进程之间的关系 [root@test ~]# pstree init─┬─abrtd ├─acpid ├─atd ├─console-kit-dae───63*[{console-kit-da}] ├─crond ├─cupsd ├─dbus-daemon ├─dhclient ├─fcoemon ├─hald─┬─hald-runner─┬─hald-addon-acpi │ │ └─hald-addon-inpu │ └─{hald} ├─lldpad ├─login───bash ├─master─┬─pickup │ └─qmgr ├─5*[mingetty] ├─rpcbind ├─rsyslogd───3*[{rsyslogd}] ├─sshd─┬─sshd───2*[bash] │ └─sshd───bash───pstree └─udevd───2*[udevd]2.ps 进程状态查看工具 ps aux a 与终端相关的进程 x 与终端无关的进程 u 显示以用户为中心组织进程状态信息 [root@test ~]# ps aux USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND VSZ 虚拟内存集 RSS 常住内存集不能被交换 STAT 进程状态 R running S 可中断睡眠 D 不可中断睡眠 T 停止态 Z 僵尸态 + 前台进程 l 多线程进程 N 低优先级进程 |
CopyRight 2018-2019 实验室设备网 版权所有 |