Nette Infos vom Raspi

ideenschnipsel vom raspi

hostname --all-ip-addresses
hostname
/opt/vc/bin/vcgencmd measure_temp
free -h | grep 'Mem' | awk '{print $2}'
free -h | grep '\-\/+' | awk '{print $3}'

cat /proc/cpuinfo | grep Serial | /usr/bin/awk '{print $3}'
cat /proc/cpuinfo | grep Processor | /usr/bin/awk '{print $3" "$4}'

df -h | grep /dev/root |  /usr/bin/awk '{print $4}'
df -h | grep /dev/root |  /usr/bin/awk '{print $3}'

du -h -s ~ |  /usr/bin/awk '{print $1}'
du -s -h --time ~ | /usr/bin/awk '{print $2 " " $3}'
Download PDF