RPI system information

Finding Raspberry Pi System information



System information from the operating system

Raspbian release version information:  cat /etc/*-release

root@rpiplc:~# cat /etc/*-release
PRETTY_NAME="Raspbian GNU/Linux 7 (wheezy)"
NAME="Raspbian GNU/Linux"
VERSION="7 (wheezy)"

 Report file system disk space usage: df -h

root@rpiplc:~# df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/root       1.5G  1.1G  317M  78% /
devtmpfs        214M     0  214M   0% /dev
tmpfs            44M  228K   44M   1% /run
tmpfs           5.0M     0  5.0M   0% /run/lock
tmpfs            87M     0   87M   0% /run/shm
/dev/mmcblk0p1   56M   20M   37M  36% /boot

Get hostname: hostname

root@rpiplc:~# hostname

Get CPU info: cat /proc/cpuinfo

root@rpiplc:~# cat /proc/cpuinfo 
processor	: 0
model name	: ARMv6-compatible processor rev 7 (v6l)
BogoMIPS	: 2.00
Features	: half thumb fastmult vfp edsp java tls 
CPU implementer	: 0x41
CPU architecture: 7
CPU variant	: 0x0
CPU part	: 0xb76
CPU revision	: 7

Hardware	: BCM2708
Revision	: 0010
Serial		: 00000000b0f40c35

Get version information: cat /proc/version

root@rpiplc:~# root@rpiplc:~# hostname
-bash: root@rpiplc:~#: command not found
root@rpiplc:~# cat /proc/version
Linux version 4.1.6+ (dc4@dc4-XPS13-9333) (gcc version 4.8.3 20140303 (prerelease) (crosstool-NG linaro-1.13.1+bzr2650 - Linaro GCC 2014.03) ) #810 PREEMPT Tue Aug 18 15:19:58 BST 2015

Obtain the information about the memory usage: cat /proc/meminfo

root@rpiplc:~# cat /proc/meminfo
MemTotal:         445048 kB
MemFree:          386980 kB
MemAvailable:     403812 kB
Buffers:            9048 kB
Cached:            26852 kB
SwapCached:            0 kB
Active:            30904 kB
Inactive:          11312 kB


Add new comment