Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Log temperature to syslog #122

Closed
kaihendry opened this issue Jan 9, 2013 · 4 comments
Closed

Log temperature to syslog #122

kaihendry opened this issue Jan 9, 2013 · 4 comments

Comments

@kaihendry
Copy link
Member

Every five minutes, something like

logger $(cat /sys/class/thermal/thermal_zone0/temp)

@kaihendry
Copy link
Member Author

Also need free memory as a % #83
freespace=$(awk '/^MemFree:/{f=$2} /^Cached:/{c=$2} END{print f+c}' /proc/meminfo)

@kaihendry
Copy link
Member Author

sar -r from systat seems to provide blow by blow memory account.

@kaihendry
Copy link
Member Author

@kaihendry
Copy link
Member Author

This varies from machine to machine, so I think it's kinda pointless.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant