url: http://paste.minad.de/index.php?nid=392
Notizname: vpenis.sh von: - Sprache:

  1. rellig@minad ~ $ cat vpenis.sh
  2. #!/bin/sh
  3. echo `uptime|grep days|sed 's/.*up \([0-9]*\) day.*/\1\/10+/'; cat \
  4. /proc/cpuinfo|grep '^cpu MHz'|awk '{print $4"/30 +";}';free|grep \
  5. '^Mem'|awk '{print $3"/1024/3+"}'; df -P -k -x nfs | grep -v \
  6. 1k | awk '{if ($1 ~ "/dev/(scsi|sd|md)"){ s+= $2} s+= $2;} END \
  7. {print s/1024/50"/15+70";}'`|bc|sed 's/\(.$\)/.\1cm/'
  8.  
Pastelog:
erstellt 2014.01.15 08:36:13
Hits
928




© 2009-2010 rellig