process-viewerでCPUやメモリ、ネットワーク、ディスク使用量を表示することが出来ます。
〇process-viewerの画面
インストール手順
1. Rust言語のインストール
※curlをインストールしていない場合は、あらかじめ「sudo apt-get -y install curl」でインストールしておきます。
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
※以下の様な選択肢が表示されたら1を入力します
1) Proceed with installation (default)
2) Customize installation
3) Cancel installation
インストールしたシェルですぐにRustを使用するために、以下のコマンドを実行します。
source $HOME/.cargo/env
2. process-viewerのインストール
sudo apt-get -y install libgtk-4-dev build-essential
cargo install process_viewer
cat << EOF > ~/.local/share/applications/process_viewer.desktop
[Desktop Entry]
Version=1.0
Type=Application
Terminal=false
Exec=bash -c "~/.cargo/bin/process_viewer"
Name=process viewer
Categories=System;
EOF
関連情報
・process viewerのgithubリポジトリ
https://github.com/GuillaumeGomez/process-viewer