Hardware monitoring

The Raspberry Pi Foundation provides a tool called vcgencmd, which gives you detailed data about various hardware used in the Raspberry 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. Some commands for monitoring are as follows:

  • To see a list of supported commands, we type the following in the console:
    vcgencmd commands
  • As newer versions are released, there will be more commands available here. To check the current GPU temperature, we will use the following command:
    vcgencmd measure_temp
  • We can use the following command to check how RAM is split between the CPU and GPU:
    vcgencmd get_mem arm/gpu
  • To check the firmware version, we can use ...

Get Raspberry Pi 2 Server Essentials now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.