Ministo is a collection of scripts to display useful information when mining Monero, Wownero, or another CPU mined cryptocurrency.
If sensors returns coretemp
data the getAverageCpuTemp.sh
script will return the average across all cores.
If sensors does not return coretemp
it will look for Tdie
. This is used for some Ryzen processors and is the tempurature of the CPU die.
This is the average of all core MHz as reported by /proc/cpuinfo
.
sudo apt install sensors bc
sudo pacman -S sensors bc
sudo pacman -S sensors sensors-openrc bc
sudo apt install tmux
sudo pacman -S tmux
mkdir -p $HOME/.config/tmux
This ensures that any updates will be reflected without the need to manually copy in the future.
ln -s { path to ministo directory }/getAverageCpuMHz.sh $HOME/.config/tmux/getAverageCpuMHz.sh
ln -s { path to Ministo directory }/getAverageCpuTemp.sh $HOME/.config/tmux/getAverageCpuTemp.sh
set -g status-interval 2
set-option -g status-right-length 150
set-option -g status-right "#[fg=white]#[bg=black]#[fg=white]#[bg=black]CPU: #(sh $HOME/.config/tmux/getAverageCpuMHz.sh) #(sh $HOME/.config/tmux/getAverageCpuTemp.sh) | "