Monitor System Information

System Frequencies

In order for a digital system to operate it needs a main clock pulse and a bounce of secondary ones. The Raspberry Pi is not an exception to that rule and with some basic commands we can have those frequencies in our terminal

To find the CPU speed type:
cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq

the minimum speed:
cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq

and the maximum speed:
cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq

For me, the numbers are all the same as I am using a basic configuration without any overclocking or any other change from the basic Raspbian. The numbers output are in kilohertz, so the 700000 is translated to 700MHz. A usual figure for a “vanilla” Raspbian system!

You can also discover more system speed by using this command here:

vcgencmd measure_clock Clock_Name_Variable

where Clock_Name_Variable is one of the followings: arm, h264, isp, v3d, uart, pwm, emmc, pixel, vec, hdmi, dpi.

For example, on the following screenshot of an ssh session with my RPi you can see the uart speed, arm speed and hdmi speed.

An other important figure of a system is the voltages. You can find the core voltage using the following:

vcgencmd measure_volts


vcgencmd measure_volts core

The argument core can be changed by one of the followings: sdram_c, sdram_i, and sdram_p. For example

vcgencmd measure_volts sdram_c


Find enabled hardware codecs

To see which hardware codecs have been enabled to your system use this command:

vcgencmd codec_enabled Codec_Name

where Codec_Name can be: H264, MPG2, WVC1, MPG4, MJPG, WMV9

like this:

Again my default system is using the regular enabled codecs. Do enable all of those you have to pay a small fee to the Raspberry Pi community.


Memory Information

To find the memory info of your Pi type:

free -o -h

From here you can gather info like total memory, free memory, buffers etc


Monitor the Temperature

If you want to show the Raspberry Pi temperature then you can do that with a simple command from a terminal session with the Pi. To do that you can select on of the following methods.

Methode 1


/opt/vc/bin/vcgencmd measure_temp

The result will be a simple temperature value in Celsius like the one below:

Methode 2

An alternative answer to the same question is to use this command

cat /sys/class/thermal/thermal_zone0/temp

and just divide the value with 1000 for degrees in Celsius

Giving me a result of 36.85°C


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s