# !/bin/sh # Egg and Bnc Counting Script for webpage # # gor # Rooted Networks Inc. # # rm /root/ebcheck sleep 1 top -bS inf -dl >> /root/ebcheck sleep 2 rm /root/web-stuff/shell-eggcount; rm /root/web-stuff/shell-bnccount; rm /root/web-stuff/shell-clientcount; rm /root/web-stuff/shell-ircdcount cat /root/ebcheck |egrep '(egg)' |wc -l >> /root/web-stuff/shell-eggcount cat /root/ebcheck |egrep '(psybnc|bnc|ez)' | wc -l >> /root/web-stuff/shell-bnccount cat /root/ebcheck |egrep '(BitchX|scrollz|epic)' | wc -l >> /root/web-stuff/shell-clientcount cat /root/ebcheck |egrep '(ircd)' |wc -l >> /root/web-stuff/shell-ircdcount echo "pxr tested , mother approved"