Created
October 23, 2015 09:10
-
-
Save gammy/1afdc681ede30ba3bc8d to your computer and use it in GitHub Desktop.
Display RPM and temperature on my machine
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
sensors \ | |
| grep -e fan -e temp -e Core -e Physical \ | |
| grep -v -e '0 RPM (' | |
disks=$(lsblk --list --output NAME,TYPE \ | |
| grep disk \ | |
| cut -d ' ' -f 1 \ | |
| sed -s 's#\(.*\)#/dev/\1#') | |
hddtemp ${disks} 2>&1 | grep -v -e WARNING | |
nvidia-settings --query=gpucoretemp \ | |
| grep Attribute \ | |
| grep gpu:0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment