# df -hT
ファイルシス タイプ サイズ 使用 残り 使用% マウント位置
devtmpfs devtmpfs 901M 0 901M 0% /dev
tmpfs tmpfs 915M 0 915M 0% /dev/shm
tmpfs tmpfs 915M 8.5M 907M 1% /run
tmpfs tmpfs 915M 0 915M 0% /sys/fs/cgroup
/dev/vda1 ext4 30G 1.7G 27G 6% /
tmpfs tmpfs 183M 0 183M 0% /run/user/0
# uname -a
Linux v***-***-***-***.vir.kagoya.net 4.18.0-147.8.1.el8_1.x86_64 #1 SMP Thu Apr 9 13:49:54 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
# pstree -a
-bash: pstree: コマンドが見つかりません
# dnf search pstree
メタデータの期限切れの最終確認: 0:08:45 時間前の 2020年08月12日 16時58分35秒 に実施しました。
一致する項目はありませんでした。
# dnf provides pstree
メタデータの期限切れの最終確認: 0:09:11 時間前の 2020年08月12日 16時58分35秒 に実施しました。
psmisc-23.1-4.el8.x86_64 : Utilities for managing processes on your system
Repo : BaseOS
一致:
ファイル名 : /usr/bin/pstree
# dnf install psmisc
メタデータの期限切れの最終確認: 0:11:15 時間前の 2020年08月12日 16時58分35秒 に実施しました。
依存関係が解決しました。
=======================================================================================================================================================================================================================================
パッケージ アーキテクチャー バージョン リポジトリー サイズ
=======================================================================================================================================================================================================================================
インストール:
psmisc x86_64 23.1-4.el8 BaseOS 150 k
トランザクションの概要
=======================================================================================================================================================================================================================================
インストール 1 パッケージ
ダウンロードサイズの合計: 150 k
インストール済みのサイズ: 481 k
これでよろしいですか? [y/N]: y
パッケージのダウンロード:
psmisc-23.1-4.el8.x86_64.rpm 1.6 MB/s | 150 kB 00:00
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
合計 344 kB/s | 150 kB 00:00
トランザクションの確認を実行中
トランザクションの確認に成功しました。
トランザクションのテストを実行中
トランザクションのテストに成功しました。
トランザクションを実行中
準備 : 1/1
インストール中 : psmisc-23.1-4.el8.x86_64 1/1
scriptletの実行中: psmisc-23.1-4.el8.x86_64 1/1
検証 : psmisc-23.1-4.el8.x86_64 1/1
インストール済み:
psmisc-23.1-4.el8.x86_64
完了しました!
# pstree -a
systemd --switched-root --system --deserialize 17
├─NetworkManager --no-daemon
│ └─2*[{NetworkManager}]
├─agetty -o -p -- \\u --noclear tty1 linux
├─anacron -s
├─auditd
│ └─{auditd}
├─crond -n
├─dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only
├─firewalld -s /usr/sbin/firewalld --nofork --nopid
│ └─{firewalld}
├─irqbalance --foreground
│ └─{irqbalance}
├─polkitd --no-debug
│ └─5*[{polkitd}]
├─rngd -f
│ └─2*[{rngd}]
├─rsyslogd -n
│ └─2*[{rsyslogd}]
├─sshd -D -oCiphers=aes256-gcm@openssh.com,chacha20-poly1305@openssh.com,aes256-ctr,aes256-cbc,aes128-gcm@openssh.com,aes128-ctr,aes128-cbc-oMACs=hmac-sha2-256-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-128-etm@openssh
│ └─sshd
│ └─sshd ...
│ └─bash
│ └─pstree -a
├─sssd -i --logger=files
│ ├─sssd_be --domain implicit_files --uid 0 --gid 0 --logger=files
│ └─sssd_nss --uid 0 --gid 0 --logger=files
├─systemd --user
│ └─(sd-pam)
├─systemd-journal
├─systemd-logind
├─systemd-resolve
├─systemd-udevd
└─tuned -Es /usr/sbin/tuned -l -P
└─3*[{tuned}]
Firewalld の設定
サービス3つのみ公開されている。