sysinfo.sh

I haven’t posted any details on overclocking and firmware update yet, and before I do it is possibly a good idea to recommend adding the following script to your system (as can be found e.g. at http://youresuchageek.blogspot.de/2012/09/howto-raspberry-pi-openelec-on.html):

sudo bash
vi /usr/local/bin/sysinfo.sh
#!/bin/sh
echo "\n###############################################"
echo "# RASPBERRY PI SYSTEM INFORMATIONS #"
echo "###############################################"

echo "\nCPU current Frequency: `vcgencmd measure_clock arm`"
echo "CORE current Frequency: `vcgencmd measure_clock core`"
echo "CORE current Voltage: `vcgencmd measure_volts core`"
echo "CPU current Temperature: `vcgencmd measure_temp`"

echo "\nFirmware Version: `vcgencmd version`\n"

echo "Codecs Status:"
echo "`vcgencmd codec_enabled H264`"
echo "`vcgencmd codec_enabled MPG2`"
echo "`vcgencmd codec_enabled WVC1`"

echo

I will use “vi” as editor. Please replace with your favourite linux editor.

We now mark the script as executable:

chmod +x /usr/local/bin/sysinfo.sh

Executing the script will give us information on the system:

oot@raspberrypi:/home/pi# sysinfo.sh

###############################################
# RASPBERRY PI SYSTEM INFORMATIONS #
###############################################

CPU current Frequency: frequency(45)=700000000
CORE current Frequency: frequency(1)=250000000
CORE current Voltage: volt=1.20V
CPU current Temperature: temp=41.2'C

Firmware Version: Oct 25 2012 16:36:25
Copyright (c) 2012 Broadcom
version 346337 (release)

Codecs Status:
H264=enabled
MPG2=disabled
WVC1=disabled

One might add info on the running kernel version using the following command:

uname -a

The output will look like this:

Linux raspberrypi 3.2.27+ #250 PREEMPT Thu Oct 18 19:03:02 BST 2012 armv6l
Advertisements

Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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 )

Google+ photo

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

Connecting to %s