Skip to content

Instantly share code, notes, and snippets.

@kadoshita
Created August 5, 2018 03:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kadoshita/cf82147ce76fe15768c5cff7fa27b9ad to your computer and use it in GitHub Desktop.
Save kadoshita/cf82147ce76fe15768c5cff7fa27b9ad to your computer and use it in GitHub Desktop.
#!/bin/bash
TIME=`date '+%s'`
TEMP=`cputemp`
NAME="temp.cpu"
echo -e "${NAME}\t${TEMP}\t${TIME}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment