Personal tools

Vpenis

From Eth0Wiki

Revision as of 12:17, 10 July 2008 by BuZz (talk | contribs) (New page: #!/bin/sh 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...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
#!/bin/sh
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/'

56.1cm buZz , dell inspiron 640m