Personal tools

Difference between revisions of "Vpenis"

From Eth0Wiki

Jump to: navigation, search
m
Line 6: Line 6:
 
  {print s/1024/50"/15+70";}'`|bc|sed 's/\(.$\)/.\1cm/'
 
  {print s/1024/50"/15+70";}'`|bc|sed 's/\(.$\)/.\1cm/'
  
56.1cm buZz , dell inspiron 640m
+
* 56.1cm buZz , dell inspiron 640m
61.4cm chakotay, IBM Thinkpad T60
+
* 61.4cm chakotay, IBM Thinkpad T60

Revision as of 12:23, 10 July 2008

#!/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
  • 61.4cm chakotay, IBM Thinkpad T60