Skip to content

ailuntx/linmon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

linmon

Linux 终端监控工具,支持普通 Linux 和 WSL2。

安装

网络安装:

curl -fsSL https://github.com/ailuntx/linmon/releases/latest/download/install.sh | bash

安装后会把 linmon 放到 ~/.local/bin,并补 PATH。新开一个 shell 后直接执行:

linmon
linmon debug
linmon pipe -s 1 --device-info

Debian / Ubuntu:

sudo apt install ./linmon_<version>_amd64.deb

deb 包会安装到 /usr/bin/linmon,不会再复制到 ~/.local/bin

APT 源:

echo 'deb [trusted=yes] https://ailuntx.github.io/linmon/apt ./' | sudo tee /etc/apt/sources.list.d/linmon.list
sudo apt update
sudo apt install linmon

当前这个 apt 源是无签名的 flat repo,所以先用 trusted=yes

手动安装

下载 release 里的 linmon-linux-x86_64.zip,解压后执行:

./linmon

首次运行会把自己复制到 ~/.local/bin/linmon

说明

  • WSL2 的 GPU 走 nvidia-smi
  • 真正的 Linux 优先走 cpufreqhwmonpowercap
  • 没有传感器的数据会显示为 N/Anull

About

Linux terminal monitor for CPU, RAM, swap and NVIDIA GPU metrics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors