Commit ea7e941f authored by Martin Kepplinger's avatar Martin Kepplinger
Browse files

printsys: add cpus

parent 8ad819ca
......@@ -52,6 +52,11 @@ fi
dpkg -l | grep linux-image | cut -d " " -f 3
uname -r
cpu0=$(cat /sys/devices/system/cpu/cpu0/online)
cpu1=$(cat /sys/devices/system/cpu/cpu1/online)
cpu2=$(cat /sys/devices/system/cpu/cpu2/online)
cpu3=$(cat /sys/devices/system/cpu/cpu3/online)
echo "CPU: $cpu0 $cpu1 $cpu2 $cpu3"
echo "------------------------------------------------------------------"
charge=$(cat /sys/class/power_supply/max170xx_battery/charge_now 2>/dev/null)
if [[ $charge -le 1000000 ]] ; then
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment