ネットで調べものをしていたところ、『gtop』なるNodejsで書かれたモニタリングツールを見かけたのでちょっと試してみる。 Nodejsで書かれているので、npmコマンドからインストールができる。

bash
# CentOSの場合 yum install epel-release yum install nodejs npm install gtop -g # Ubuntuの場合 sudo apt install nodejs-legacy npm npm install gtop -g

インストールできたら、gtopコマンドを実行。

bash
gtop

メモリ使用量などが円グラフで表示されているので、見た目的にわかりやすい。