This blog is used to collect useful snippets related to Linux, PHP, MySQL and more. Feel free to post comments with improvements or questions!
Are your smart devices spying on you? Make better purchasing choices and find products that respect your privacy at Unwanted.cloud
Copyright © Useful Snippets. 2024 • All rights reserved.
Cedar WordPress Theme by EckoThemes. Published with WordPress.
/opt/vc/bin/vcgencmd measure_temp
If you want to watch it continuously, use:
watch /opt/vc/bin/vcgencmd measure_temp
Source
Full-stack impostor syndrome sufferer & Software Engineer at Schibsted Media Group
Is it possible to do a log for a temperature?
Sure Yuriy,
If you just want to log to file in the background, you can do something like this: http://stackoverflow.com/questions/8220098/how-to-redirect-the-output-of-an-application-in-background-to-dev-null
Just pick a file to log to instead of /dev/null
Save my name, email, and website in this browser for the next time I comment.
Notify me of followup comments via e-mail. You can also subscribe without commenting.
Δ