Configure lm-sensors with
sudo sensors-detect
and let it add the modules if everything went OK.
Then create ~/.byobu/bin/10_coretemp with:
#!/bin/sh
sensors | grep Physical | cut -c 18-21
(adjust as needed)
Then:
chmod +x ~/.byobu/bin/10_coretemp
Done.
Btw, I ran into this problem in Ubuntu 12.04: http://unix.stackexchange.com/questions/41596/colour-bleeds-right-when-writing-a-custom-script-in-byobu
Subscrever:
Enviar feedback (Atom)
Sem comentários:
Enviar um comentário