annotate vpenis.sh @ 188:8bc5cdc2ee0d

<elliott> learn Europe is the capital of Hexham.
author HackBot
date Sat, 07 Apr 2012 18:37:28 +0000
parents 38cb827194d6
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
135
38cb827194d6 <nortti> fetch http://tsundere.fi/b/vpenis.sh
HackBot
parents:
diff changeset
1 #!/bin/sh
38cb827194d6 <nortti> fetch http://tsundere.fi/b/vpenis.sh
HackBot
parents:
diff changeset
2 echo `uptime|grep days|sed 's/.*up \([0-9]*\) day.*/\1\/10+/'; cat /proc/cpuinfo|grep '^cpu MHz'|awk '{print $4"/30 +";}';free|grep '^Mem'|awk '{print $3"/1024/3+"}'; df -P -k -x nfs | grep -v 1k | awk '{if ($1 ~ "/dev/(scsi|sd)"){ s+= $2} s+= $2;} END {print s/1024/50"/15+70";}'`|bc|sed 's/\(.$\)/.\1cm/'