The way I put it together is:
#!/bin/sh
clear
echo
echo
date
echo -------------------------------------
echo -n "Uptime: "
uptime | awk -F'( |,|
+' '{if ($7=="min") m=$6; else {if ($7~/^day/)
{d=$6;h=$8;m=$9} else {h=$6;m=$7}}} {print d+0,"days,",h+0,"hours,",m+0,"minutes"}'
echo
echo -n "CPU,DRAM (over)clock frequency and speed: "
nvram get clkfreq
echo
cat /proc/cpuinfo | grep BogoMIPS | strings | sed 's/^/ /'
echo
echo -n "CPU Load Average: " ; cat /proc/loadavg | cut -c 1-15
cat /proc/dmu/temperature
echo -n ; sh /mnt/asus/conf/w
echo
free | grep Mem | strings | sed 's/^/ /'
free | grep Swap | strings | sed 's/^/ /'
echo -n " jffs: " ; df /dev/mtdblock4 | tail -n 1 | sed 's/^/ /' | cut -c28-
echo
/opt/etc/init.d/S80pixelserv-tls check | sed 's/^ *//'
echo -n "Checking USB flash drive... " ; tail -n 1 /jffs/amtm-disk-check.log
# echo -e "Checking Dnscrypt status... " ; /jffs/dnscrypt/dnscrypt-proxy -check | sed 's/^/ /' | cut -c28-
echo -n "Checking Skynet version and status... " ; sh /mnt/asus/conf/sk
...and for chips temp (w):
!/bin/bash
alias elog='logger -t " 2.4 GHz Chip Temp" -s'
GETTEMP=`wl -i eth1 phy_tempsense | awk '{ print $1}'`
TEMP=$(((GETTEMP/2)+20))
elog "$TEMP (C)"
wait
alias elog='logger -t " 5 GHz Chip Temp " -s'
GETTEMP=`wl -i eth2 phy_tempsense | awk '{ print $1}'`
TEMP=$(((GETTEMP/2)+20))
elog "$TEMP (C)"
...and then for (sk)
SkyNet:
#/!/bin/bash
/jffs/scripts/firewall update check | grep Skynet | strings | sed 's/^/ /'
wait
echo
/jffs/scripts/firewall debug info | grep Tests | strings | sed 's/^/ /'
wait
echo
/jffs/scripts/firewall debug info | grep IPs | strings | tail -n 1 | sed 's/^/ /'
echo
That's about it - and whoever else has anything to add without overloading it is more than welcome