changeset 135:38cb827194d6

<nortti> fetch http://tsundere.fi/b/vpenis.sh
author HackBot
date Sat, 24 Mar 2012 18:07:20 +0000
parents 18cae3383e57
children d3146dd3acb5
files vpenis.sh
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/vpenis.sh	Sat Mar 24 18:07:20 2012 +0000
@@ -0,0 +1,2 @@
+#!/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/'