Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- main(){
- sensors | awk '/Core/ {print $2 " " $3} '
- }
- finish(){
- tput cnorm -- normal
- }
- export -f main
- tput civis -- invisible
- trap finish EXIT
- watch -t -n "${1:-2}" bash -c main
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement