Jayce
Fully Optimized
- Messages
- 3,056
- Location
- /home/jason
Taking this from the UbuntuForums. I thought it was kind of interesting. By issuing this command:
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 -x smbfs | grep -v '(1k|1024)-blocks' | awk '{if ($1 ~ "/dev/(scsi|sd)"){ s+= $2} s+= $2;} END {print s/1024/50"/15+70";}'`|bc|sed 's/\(.$\)/.\1 miles/'
It will tell you how long your computer can run (if it had legs, of course) before it would die.
My result - 387.0 miles.
Some guys on the other forums ran this test on Ubuntu servers as well. The numbers were pretty darn high on those beasts.
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 -x smbfs | grep -v '(1k|1024)-blocks' | awk '{if ($1 ~ "/dev/(scsi|sd)"){ s+= $2} s+= $2;} END {print s/1024/50"/15+70";}'`|bc|sed 's/\(.$\)/.\1 miles/'
It will tell you how long your computer can run (if it had legs, of course) before it would die.
My result - 387.0 miles.
Some guys on the other forums ran this test on Ubuntu servers as well. The numbers were pretty darn high on those beasts.