echo APMON; cat /proc/uptime; for r in /sys/class/remoteproc/*; do echo "RP $(cat $r/name)=$(cat $r/state)"; done echo "crash=$(dmesg | grep -cE 'crash detected in a204000') dog=$(dmesg | grep -cE 'Watchdog startup') wfatal=$(dmesg | grep -cE 'qcom-wcnss-pil.*fatal') wcnerr=$(dmesg | grep -ciE 'wcn36xx.*(fail|error|timeout)')" ps w | grep -c "[h]ostapd -t"; iw dev wlan0 info | grep -E "ssid|type|channel"; iw dev wlan0 station dump | grep -E "^Station|inactive|rx bytes|tx bytes|signal:|tx bitrate|rx bitrate|authorized|connected time" grep -E "AP-STA|EAPOL-4WAY|WPA: pairwise key handshake completed|deauth|disassoc" /tmp/b8e/hostapd.log | tail -8 ping -c3 -W3 -I wwan0 77.88.8.8 | tail -1; /etc/init.d/aurora-modem status | grep -E "controller|mm state"; awk '{print "emmc w="$5" s="$7}' /sys/block/mmcblk0/stat