#!/bin/sh
echo CPU frquency: `cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq`KHz
free -m|grep Mem:|cut -d' ' -f1,11,19
free -m|grep Swap:|cut -d' ' -f1,10,27
echo System temperatures: `cat /proc/acpi/thermal_zone/THR0/temperature |cut -d' ' -f14`C,\
`cat /proc/acpi/thermal_zone/THR1/temperature |cut -d' ' -f14`C
echo HDD temperature: `nc 127.0.0.1 7634 |cut -d'|' -f4`C
echo Battery Charege: `hal-get-property\
	--udi /org/freedesktop/Hal/devices/computer_power_supply_battery_BAT0\
	--key battery.charge_level.percentage`%
echo AC adapter: `hal-get-property\
	--udi /org/freedesktop/Hal/devices/computer_power_supply_ac_adapter_AC\
	--key ac_adapter.present`
