pstree使用缺少命令

网友投稿 767 2022-09-30

pstree使用缺少命令

pstree使用缺少命令

[root@localhost ~]# yum -y install psmisc 已加载插件:fastestmirror Loading mirror speeds from cached hostfile  * base: centos.ustc.edu-  * extras: centos.ustc.edu-  * updates: centos.ustc.edu- 正在解决依赖关系 --> 正在检查事务 ---> 软件包 psmisc.x86_64.0.22.20-11.el7 将被 安装 --> 解决依赖关系完成 依赖关系解决 ==============================================================================================================================  Package                     架构                        版本                                 源                         大小 ============================================================================================================================== 正在安装:  psmisc                      x86_64                      22.20-11.el7                         base                      141 k 事务概要 ============================================================================================================================== 安装  1 软件包 总-量:141 k 安装大小:479 k Downloading packages: psmisc-22.20-11.el7.x86_64.rpm                                                                         | 141 kB  00:00:00      Running transaction check Running transaction test Transaction test succeeded Running transaction   正在安装    : psmisc-22.20-11.el7.x86_64                                                                                1/1   验证中      : psmisc-22.20-11.el7.x86_64                                                                                1/1 已安装:   psmisc.x86_64 0:22.20-11.el7                                                                                                 完毕! [root@localhost ~]# pstree systemd─┬─NetworkManager─┬─dhclient         │                └─2*[{NetworkManager}]         ├─auditd───{auditd}         ├─chronyd         ├─crond         ├─dbus-daemon───{dbus-daemon}         ├─firewalld───{firewalld}         ├─irqbalance         ├─login───bash         ├─lvmetad         ├─master─┬─pickup         │        └─qmgr         ├─mysqld_safe───mysqld───21*[{mysqld}]         ├─polkitd───5*[{polkitd}]         ├─rsyslogd───2*[{rsyslogd}]         ├─sshd───sshd───bash───pstree         ├─systemd-journal         ├─systemd-logind         ├─systemd-udevd         ├─tuned───4*[{tuned}]         └─vmtoolsd───{vmtoolsd} [root@localhost ~]# pstree -p systemd(1)─┬─NetworkManager(721)─┬─dhclient(825)            │                     ├─{NetworkManager}(750)            │                     └─{NetworkManager}(753)            ├─auditd(642)───{auditd}(657)            ├─chronyd(681)            ├─crond(674)            ├─dbus-daemon(660)───{dbus-daemon}(662)            ├─firewalld(710)───{firewalld}(821)            ├─irqbalance(669)            ├─login(678)───bash(2463)            ├─lvmetad(522)            ├─master(2359)─┬─pickup(42639)            │              └─qmgr(2364)            ├─mysqld_safe(1386)───mysqld(1708)─┬─{mysqld}(2394)            │                                  ├─{mysqld}(2395)            │                                  ├─{mysqld}(2396)            │                                  ├─{mysqld}(2397)            │                                  ├─{mysqld}(2398)            │                                  ├─{mysqld}(2399)            │                                  ├─{mysqld}(2400)            │                                  ├─{mysqld}(2401)            │                                  ├─{mysqld}(2402)            │                                  ├─{mysqld}(2403)            │                                  ├─{mysqld}(2410)            │                                  ├─{mysqld}(2411)            │                                  ├─{mysqld}(2412)            │                                  ├─{mysqld}(2413)            │                                  ├─{mysqld}(2414)            │                                  ├─{mysqld}(2419)            │                                  ├─{mysqld}(2420)            │                                  ├─{mysqld}(2421)            │                                  ├─{mysqld}(2422)            │                                  ├─{mysqld}(2423)            │                                  └─{mysqld}(2425)            ├─polkitd(663)─┬─{polkitd}(699)            │              ├─{polkitd}(700)            │              ├─{polkitd}(703)            │              ├─{polkitd}(704)            │              └─{polkitd}(705)            ├─rsyslogd(1024)─┬─{rsyslogd}(1424)            │                └─{rsyslogd}(1425)            ├─sshd(1469)───sshd(2487)───bash(2491)───pstree(46050)            ├─systemd-journal(499)            ├─systemd-logind(670)            ├─systemd-udevd(530)            ├─tuned(1025)─┬─{tuned}(2360)            │             ├─{tuned}(2361)            │             ├─{tuned}(2362)            │             └─{tuned}(2365)            └─vmtoolsd(664)───{vmtoolsd}(708)

版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。

上一篇:小程序该如何正确调用后端接口(小程序该如何正确调用后端接口权限)
下一篇:总结几点小程序开发技巧(小程序开发难点在哪里)
相关文章

 发表评论

暂时没有评论,来抢沙发吧~