Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Raspberry Pi Server Essentials

You're reading from  Raspberry Pi Server Essentials

Product type Book
Published in Feb 2014
Publisher
ISBN-13 9781783284696
Pages 116 pages
Edition 1st Edition
Languages
Author (1):
Piotr J Kula Piotr J Kula
Profile icon Piotr J Kula

Hardware monitoring


The Raspberry foundation provides a tool called vcgencmd that gives you detailed data about various hardware used in the Pi. This tool is updated from time to time and can be used to log the temperature of the GPU, voltage levels, processor frequencies, and so on.

To see a list of supported commands, type the following command in the console:

vcgencmd commands

As newer versions are released, there will be more commands available in here. To check the current GPU temperature, use the following command:

vcgencmd measure_temp

We can use the following command to check how RAM is split for the CPU and GPU:

vcgencmd get_mem arm/gpu

To check the firmware version, use the following command:

vcgencmd version

The output of all these commands is simple text that can be parsed and displayed on a website or stored in a database.

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}