#!/bin/bash ( ~/bin/saa ~/bin/bwdump up=$((`cut -f 1 -d '.' /proc/uptime`/3600)) if [ $up -gt 48 ]; then echo "$(($up/24))d"; else echo ${up}h; fi cut -d ' ' -f 1 /proc/loadavg echo $((`free -m | head -n 2 | tail -n 1 | ~/bin/cutw 7`-`free -m | head -n 3 | tail -n 1 | ~/bin/cutw 3`))M # df -BG | grep $(mount | grep "on / " | cut -d " " -f 1) | sed 's/[^ ]* *\([^ ]*\) *\([^ ]*\).*/\2\/\1/;s/G//g;s/\.0//g' # echo -n 'G' df -h | grep /dev/.da | ~/bin/cutw 4 echo "`ps ax | wc -l`p " # users who|cutw 1|sort|uniq|valipois ) | xargs