Rocky Linux 9にシステム監視ツールhtopをインストールする

環境
OSバージョンを確認します
# cat /etc/redhat-release
Rocky Linux release 9.0 (Blue Onyx)
操作方法
1.EPELリポジトリを追加します

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
# sudo dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm
# sudo dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm
# sudo dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm

2.システムパッケージを更新します

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
# sudo dnf update
# sudo dnf update
# sudo dnf update

3.htopをインストールします
下記のコマンドをインストールします
# sudo dnf install htop
バージョンを確認します

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
# htop --version
htop 3.2.1
# htop --version htop 3.2.1
# htop --version
htop 3.2.1

4.htopを起動します
# htop
CPUの使用率や、RAMの使用率、実行中のタスク、負荷の平均、稼働時間などが表示されます。

Rocky Linux 9

Posted by arkgame