pstree命令可以使进程以tree的形式显示

pstree -s
systemd─┬─UVPHostd───6*[{UVPHostd}]
├─acpid
├─2*[agetty]
├─crond
├─dbus-daemon
├─dhclient
├─getosstat─┬─iostat
│ ├─pidstat
│ ├─sar───sadc
│ └─sleep
├─haveged
├─hirmd───3*[{hirmd}]
├─irqbalance───{irqbalance}
├─libvirtd───15*[{libvirtd}]
├─mcelog
├─ovs-vswitchd
├─ovsdb-server
├─python───{python}
├─rsyslogd───3*[{rsyslogd}]
├─smartd
├─sshd─┬─3*[sshd───sftp-server]
│ ├─sshd───bash───su───bash
│ └─sshd───bash───pstree
├─sysalarm───3*[{sysalarm}]
├─sysmonitor─┬─coredump_monito
│ ├─hotpatch_alarm.
│ ├─ipmi_monitor.py
│ ├─ovsdb_flows_bac
│ ├─3*[process_monitor]
│ ├─6*[python]
│ ├─sched_delay_mon
│ ├─systemd_monitor
│ ├─unetwork_alarm.───15*[{unetwork_alarm.}]
│ ├─vm_io_monitor.p
│ ├─vm_reboot_monit───{vm_reboot_monit}
│ └─18*[{sysmonitor}]
├─systemd-journal
├─systemd-logind
├─systemd-udevd
├─tuned───4*[{tuned}]
├─vBMC_agentd
└─virtlogd───{virtlogd}

-a, --arguments show command line arguments
-A, --ascii use ASCII line drawing characters
-c, --compact don't compact identical subtrees
-h, --highlight-all highlight current process and its ancestors
-H PID,
--highlight-pid=PID highlight this process and its ancestors
-g, --show-pgids show process group ids; implies -c
-G, --vt100 use VT100 line drawing characters
-l, --long don't truncate long lines
-n, --numeric-sort sort output by PID
-N type,
--ns-sort=type sort by namespace type (ipc, mnt, net, pid, user, uts)
-p, --show-pids show PIDs; implies -c
-s, --show-parents show parents of the selected process
-S, --ns-changes show namespace transitions
-u, --uid-changes show uid transitions
-U, --unicode use UTF-8 (Unicode) line drawing characters
-V, --version display version information
-Z,
--security-context show SELinux security contexts
PID start at this PID; default is 1 (init)
USER show only trees rooted at processes of this user

最新文章

  1. [译]基于GPU的体渲染高级技术之raycasting算法
  2. ASP.NET MVC 使用 FluentScheduler 定时器计划任务
  3. HTTP状态码(2xx,3xx,4xx,5xx)
  4. 列表边框column-rule
  5. 基于 HTTP/2 的全新 APNs 协议
  6. 浅谈JavaScript中的this
  7. Linux:实现Hadoop集群Master无密码登录(SSH)各个子节点
  8. MySQL不能插入中文字符及中文字符乱码问题
  9. 利用getHibernateTemplate实现简单的操作
  10. DELPHI SOKET 编程(使用TServerSocket和TClientSocket) 转
  11. jQuery层级元素选择器
  12. 【剑指offer 面试题16】反转链表
  13. shell 脚本执行日志通用模块
  14. Mysql时间戳开始时间1970-01-01 00:00:00和PHP date慢8小时
  15. uva10934 Dropping water balloons
  16. iOS 记录近期遇到的几个bug
  17. 浅谈IM(InstantMessaging) 即时通讯/实时传讯
  18. JS设置、获取和取消Cookie
  19. JS访问或设置cookie的方法+跨域调用方法
  20. element split 将多个单号分隔

热门文章

  1. WiFi-ESP8266入门http(3-1)网页认证上网-post请求(原教程)
  2. automake - 使用 autotools 工具集
  3. XSS高级利用
  4. MVC架构在Asp.net中的应用和实现
  5. Java NIO3:缓冲区Buffer
  6. k8s 节点的 NodeAffinity 使用
  7. Linux中断管理 (3)workqueue工作队列
  8. Linux 下配置zookeeper集群
  9. Shell第一篇:BASH 环境
  10. Hadoop Yarn调度器的选择和使用