Skip to content

Instantly share code, notes, and snippets.

@szz
Last active March 9, 2017 10:13
Show Gist options
  • Select an option

  • Save szz/9039254 to your computer and use it in GitHub Desktop.

Select an option

Save szz/9039254 to your computer and use it in GitHub Desktop.
temperature of physical disks #ubuntu
lshw -short -c disk | awk '/disk/ {print $2}' | xargs hddtemp | awk -F\: '/°C/ {print $1 ":"$3}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment