[CentOS 7.x] how to install pstree via yum
[root@virtualbox ~]# pstree
-bash: pstree: command not found
[root@virtualbox ~]# yum -y install psmisc
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.navercorp.com
* epel: mirror.premi.st
* extras: mirror.navercorp.com
* updates: mirror.navercorp.com
Resolving Dependencies
--> Running transaction check
---> Package psmisc.x86_64 0:22.20-9.el7 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
psmisc x86_64 22.20-9.el7 base 140 k
Transaction Summary
================================================================================
Install 1 Package
Total download size: 140 k
Installed size: 479 k
Downloading packages:
psmisc-22.20-9.el7.x86_64.rpm | 140 kB 00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : psmisc-22.20-9.el7.x86_64 1/1
Verifying : psmisc-22.20-9.el7.x86_64 1/1
Installed:
psmisc.x86_64 0:22.20-9.el7
Complete!
[root@virtualbox ~]# pstree
systemd─┬─NetworkManager───2*[{NetworkManager}]
├─agetty
├─auditd───{auditd}
├─crond
├─dbus-daemon───{dbus-daemon}
├─firewalld───{firewalld}
├─lvmetad
├─master─┬─pickup
│ └─qmgr
├─polkitd───5*[{polkitd}]
├─rsyslogd───2*[{rsyslogd}]
├─sshd───sshd───bash───pstree
├─systemd-journal
├─systemd-logind
├─systemd-udevd
├─tuned───4*[{tuned}]
└─wpa_supplicant
[root@virtualbox ~]#
댓글 없음:
댓글 쓰기