PDA

View Full Version : Stats: if it had legs, how far could your computer run?



monsterstack
May 10th, 2009, 07:29 AM
Linux users love stats, it seems. Conky set-ups and forum signatures are full of them. Well how about a real test of endurance? How far could your computer run if it had legs? Before it withers, dies, or explodes, that is.


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/'

I get 105.5 miles. Pretty healthy machine, I reckon. How about you?

itsStephen
May 10th, 2009, 07:36 AM
72.4 miles

-grubby
May 10th, 2009, 07:38 AM
My VPS: 51.1 Miles.

fedanon
May 10th, 2009, 08:09 AM
348.7 miles

Elfy
May 10th, 2009, 08:58 AM
whoops - sorry - closed accidentally :(

merged it with the other stats one not noticing that had been closed

Giant Speck
May 10th, 2009, 09:08 AM
46.9 miles.

3rdalbum
May 10th, 2009, 09:20 AM
226.7 miles for my desktop.

304.2 miles for my mini-ITX server.

It's nice to know that my server will still be running long after my desktop is scrap... ...but I don't know how this result came up. My desktop beats my server soundly in most of those tests (memory, CPU speed, number of storage devices attached), and my server wins only in free disk space and uptime.

Moustacha
May 10th, 2009, 09:32 AM
420.3 miles
Am I doing too well? :confused::P

eragon100
May 10th, 2009, 10:00 AM
339.0 miles :KS

frup
May 10th, 2009, 10:31 AM
78.1 miles

so the better your uptime and CPU etc, the longer it can run? Wouldn't the longer it's been running mean it's more tired? :P

Eisenwinter
May 10th, 2009, 10:33 AM
157.2 miles.

uptime is about an hour, CPU is AMD Athlon 3800+ 64bit, 2.4ghz, 1gb of RAM

bubba_169
May 10th, 2009, 10:38 AM
254.7 miles :D

Uptime 30mins, AMD turion 2x2ghz, 3gb RAM

jelle_
May 10th, 2009, 10:45 AM
strange, my computer comes further each time i run the command. started at 60.3 miles, currently 61.2

ZarathustraDK
May 10th, 2009, 10:46 AM
?

I get 836.5 miles, isn't that ridiculously high?

Athlon 4850e 64 X2
Asus M3N78 Pro Mobo
4 gigs of 800 MHz ram

It's by no means a performance-monster, it's pretty "green".

Then again, runners who conserve energy are the good runners...

Rackstar
May 10th, 2009, 11:25 AM
Only 86.4 miles, but I did reboot an hour ago ;)

eragon100
May 10th, 2009, 11:32 AM
uptime 3 hours 34 minutes, now it's 357.8 miles :lolflag:

ZarathustraDK
May 10th, 2009, 11:34 AM
What exactly does the script do?

toejamfootball
May 10th, 2009, 12:04 PM
279.9 miles. Not bad for an 8 year old machine! :)

MadCow108
May 10th, 2009, 01:28 PM
What exactly does the script do?

It adds a few computerstats up:
uptime(uptime)+cpu clock(cat /proc/cpuinfo)+memory(free)+diskspace(df)
the rest is just formating which ends in this:
1799.768/30 +
784460/1024/3+
9084.23/15+70
this is then added with bc and given the arbitrary unit miles :)

my old pc goes 99.4 miles :)

hyperdude111
May 10th, 2009, 01:54 PM
259.0 miles

AMD athlon 64x2 2gb; ddr2 sdram; 149gb free hd space.

uptime 20:37, 4 users, load average: 1.50, 1.66, 1.53

Hells_Dark
May 10th, 2009, 01:56 PM
78.1 miles

so the better your uptime and CPU etc, the longer it can run? Wouldn't the longer it's been running mean it's more tired? :P

No, it runs linux ;)

302.8 miles

toejamfootball
May 10th, 2009, 02:01 PM
282.4 miles

Shouldn't this number drop with uptime?

RATM_Owns
May 10th, 2009, 03:05 PM
┌─[andy @ vithon]-[10:06:47]
└─[~]-[$]> 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/'
zsh: correct 'bc' to 'bcp' [nyae]? n
145.3 miles
I gotta whip my computer into shape.


zsh: command not found: whip
Damn.

hyperdude111
May 10th, 2009, 03:23 PM
this 12 hours of uptime 250 miles after re-boot 238

dragos240
May 10th, 2009, 03:32 PM
127.6 miles :)

happysmileman
May 10th, 2009, 03:45 PM
105.6 miles with 20 minutes uptime.

calvinps
May 10th, 2009, 03:47 PM
87.7 miles

Dr Small
May 10th, 2009, 03:49 PM
Oh my gosh, that is a cool command. Need to save it as a shell script and decrypt it, lol :)
79.9 miles

FuturePilot
May 10th, 2009, 04:59 PM
This doesn't seem to like Zsh

sed: -e expression #1, char 27: unknown option to `s'

Works fine with Bash :???:

I got 200.0 miles

bobbocanfly
May 10th, 2009, 05:14 PM
Desktop: 83.8 miles
File server (read: old laptop): 319.9 miles

aktiwers
May 10th, 2009, 05:23 PM
618.8 miles

ashmew2
May 10th, 2009, 05:27 PM
208.0 Miles

Nice Script Idea :lolflag:

scratman
May 10th, 2009, 05:40 PM
384.8 miles, is that good or bad? If it did that in a straight line, it would probably have drowned by now!!

mohitchawla
May 10th, 2009, 06:43 PM
*BEEP* this is *BEEP* unbelievable. 23.4 miles only ? On my OLPC clone. Its probably because the battery's almost depleted ( 9% ). But if not, then the darn script is wrong cuz believe me this thing runs and runs well ! :P

budluva04
May 10th, 2009, 06:46 PM
billybigrigger@alixandria:/var/log$ 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/'
402.2 miles

5carby
May 10th, 2009, 07:05 PM
202.6 miles. :)

The Real Dave
May 10th, 2009, 07:11 PM
120.5 miles

This looks really interesting. Can someone explain to me how this script works? =]

alexandari
May 10th, 2009, 07:14 PM
120.9 miles. If it had windows I`d prolly get the BSOD while running and just die. That`s about 1 mile max

SunnyRabbiera
May 10th, 2009, 07:48 PM
77.0 miles...
Not too shabby.

days_of_ruin
May 10th, 2009, 07:55 PM
79.0 miles

Can't wait till I get my new hardware and see how many miles it gets:D

But how is this number calculated? CPU clock speed and RAM size?

Neheb
May 10th, 2009, 07:59 PM
only 62.0 miles :(

chucky chuckaluck
May 10th, 2009, 08:05 PM
i wonder how far it could get on a 'broken pipe'.

the8thstar
May 10th, 2009, 08:06 PM
48.2 miles.

I turned it on 45 minutes ago.

starcannon
May 10th, 2009, 08:07 PM
129.3 miles

Or to the end of its power cord, which is about 3ft long.

monsterstack
May 10th, 2009, 09:10 PM
78.1 miles

so the better your uptime and CPU etc, the longer it can run? Wouldn't the longer it's been running mean it's more tired? :P

Certainly not! An extra long uptime means your computer is nice and healthy. Regular reboots throw that idea into doubt.

To zsh users experiencing problems: that's odd; I use Zsh too and it works fine for me.

starcannon
May 10th, 2009, 09:16 PM
Certainly not! An extra long uptime means your computer is nice and healthy. Regular reboots throw that idea into doubt.

To zsh users experiencing problems: that's odd; I use Zsh too and it works fine for me.

A long uptime may mean a computer has not been rebooted after a kernel update as well ;)
Or it could mean that the computer is a Desktop; a Laptop or Netbook will be shutdown to save battery if the user is on the go and knows the computer won't be needed for several hours; it may also mean that someone prefers to shut the computer down every night in order to save power. I don't make any assumptions about a personal computer's health in regards to uptime; a server on the other hand...

Rainstride
May 10th, 2009, 09:20 PM
51.1 miles

pbpersson
May 10th, 2009, 09:20 PM
My uptime is 29 days, 13 hours and my result is:

489.2 miles :)

lzfy
May 10th, 2009, 09:25 PM
59,7 miles. Acer Aspire One netbook :)

abn91c
May 10th, 2009, 09:32 PM
42.2 miles

monsterstack
May 10th, 2009, 09:33 PM
A long uptime may mean a computer has not been rebooted after a kernel update as well ;).

Are you sure (http://www.ksplice.com/)? [ksplice.com]

Seriously, though, I have heard reports of server guys refusing to do important system upgrades simply because it'd ruin their uptime stats.

tom66
May 10th, 2009, 11:02 PM
126.6 miles.

starcannon
May 10th, 2009, 11:25 PM
Are you sure (http://www.ksplice.com/)? [ksplice.com]

Seriously, though, I have heard reports of server guys refusing to do important system upgrades simply because it'd ruin their uptime stats.

Most of the time I'm sure, I don't think most people mind rebooting after a kernel update, but, its possible that I'm blind on this one.

perlluver
May 10th, 2009, 11:27 PM
83.6 miles, I guess I better get a new computer soon, or is this in the realm of ok?

Heh, my server should die any day now. 32.9 miles.

Sashin
May 10th, 2009, 11:34 PM
409.5 miles

days_of_ruin
May 10th, 2009, 11:44 PM
A long uptime may mean a computer has not been rebooted after a kernel update as well ;)
Or it could mean that the computer is a Desktop; a Laptop or Netbook will be shutdown to save battery if the user is on the go and knows the computer won't be needed for several hours; it may also mean that someone prefers to shut the computer down every night in order to save power. I don't make any assumptions about a personal computer's health in regards to uptime; a server on the other hand...

+1. Why waste power by leaving your computer on overnight?

starchaser1
May 11th, 2009, 12:05 AM
At 27.7 miles it's still a lot further than its owner.

Bölvağur
May 11th, 2009, 12:58 AM
200.5 miles

bandgeek
May 11th, 2009, 01:35 AM
85.5 miles

izizzle
May 11th, 2009, 02:19 AM
96.3 miles.

Redache
May 11th, 2009, 02:27 AM
158.9 Miles.

Not Bad, It could nearly run home from University.

Phil Urich
June 28th, 2009, 07:39 AM
On my Aspire One with Jaunty installed and 40% battery left, I get

161.4 miles

On my main desktop, with an Athlon 4400+ (Socket 939) and 4GB RAM I get the following:

648.0 miles
but to be fair my uptime is 109 days, heh (since I don't forsee having to do any reboot-requiring hardware upgrades, I'm tempted to ride it out until the next LTS! ...but I bet there's been some important security updates that I should actually use, since there's definitely that little icon in the corner bugging me to reboot).

Also, to test what the memory load does to this I just killed Kontact (which was using tons of RAM)...and it dropped down to 637.6 miles.

PurposeOfReason
June 28th, 2009, 07:47 AM
352 miles with an uptime of just one day.

My server gets 534.5 miles, up for 15 days.

Barrucadu
June 28th, 2009, 08:48 AM
285.3 miles

Up for 29 minutes.

sim-value
June 28th, 2009, 08:48 AM
Uptime 32 Mins :
61.1 miles

koleoptero
June 28th, 2009, 09:44 AM
158.9 Miles.

Not Bad, It could nearly run home from University.

Exactly the same here. :-|

sim-value
June 28th, 2009, 11:52 AM
Uptime 32 Mins :
61.1 miles

Uptime : 1:20
222.4 miles

Paqman
June 28th, 2009, 12:12 PM
483.4 miles with an uptime of 2:33

I don't pretend to understand all of what this command is doing, can someone break it down?

dragos240
June 28th, 2009, 02:21 PM
69.7 Miles ^.^

JillSwift
June 28th, 2009, 02:28 PM
Desktop: 144.0 miles (13d 22h)
Server: 119.1 miles (15d 16h)
Me: 1.0 miles (0d 3h)
My neighbor: 5.0 miles (0d 2h)

spupy
June 28th, 2009, 08:03 PM
Laptop (13 days): 97.8
Server (190 days): 144.1
Weird. There is such a huge difference in processing power, uptime and other stats, yet the miles are so close.

Eviltechie
June 28th, 2009, 08:10 PM
203.5 miles

Bucky Ball
June 29th, 2009, 07:30 PM
?

I get 836.5 miles, isn't that ridiculously high?

Athlon 4850e 64 X2
Asus M3N78 Pro Mobo
4 gigs of 800 MHz ram

It's by no means a performance-monster, it's pretty "green".

Then again, runners who conserve energy are the good runners...

You might be interested in the link in my signature. :)

... and: I got 66.3 then 66.6 then ... no, still 66.6.

t0p
June 29th, 2009, 07:38 PM
About 5 meters. Then its power plug would be pulled from the wall and the poor thing would die...

EDIT: Okay, according to that calculation woojimaflip, 28 miles. But that uptime thing skews the result in a meaningless way.

spcwingo
June 29th, 2009, 07:47 PM
59.2

philcamlin
June 29th, 2009, 07:50 PM
74.0 miles

wtf lol my pc failed

Stelaninja
June 30th, 2009, 02:55 AM
It wouldn't run at all.. It's Linux, so it takes the car to where it wants to go..

starcraft.man
June 30th, 2009, 03:11 AM
:~$ 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/'
753.8 miles

Man, mine's a marathon runner. I bet if I leave it up a week or so it'll really get up there.

magmon
June 30th, 2009, 03:31 AM
76.6 miles. It seems to go up if I have more programs open, lol.

blueshiftoverwatch
June 30th, 2009, 03:33 AM
41.8 miles

this is new york not l.a.
January 30th, 2010, 04:26 AM
I remember a while back there was a code that told you how far your computer would be able to run if it had legs. Sadly I cannot find it. Does anybody know what that code was? Thanks.

judge jankum
January 30th, 2010, 04:28 AM
hell mine wont even stand up

lisati
January 30th, 2010, 04:29 AM
Can't help with the question, but I'm reminded of a dialog along the following lines:

A hollow voice says 'plugh'

plugh

nothing happens

xyzzy

nothing happens

Kai69
January 30th, 2010, 04:37 AM
How long is your extension cord :lolflag:

Roasted
January 30th, 2010, 04:40 AM
How long is your extension cord :lolflag:

Haaaaaaaaaaaaaa I see what you did there!

Kai69
January 30th, 2010, 04:44 AM
OK I have legs and can run all I need now is your address \\:D/

judge jankum
January 30th, 2010, 04:53 AM
How long is your extension cord :lolflag:
HELP!!!! Mine's fallen and can't get up!!!!!!!!!!!!!!

mechro
January 30th, 2010, 05:39 AM
http://www.uluga.ubuntuforums.org/showpost.php?p=7249682&postcount=1

...88.7 miles

00ber n00b
January 30th, 2010, 05:51 AM
168.5

mobilediesel
January 30th, 2010, 05:58 AM
http://www.uluga.ubuntuforums.org/showpost.php?p=7249682&postcount=1

...88.7 miles

Damn. 34.0 miles.

cariboo
January 30th, 2010, 06:01 AM
On the system I'm using right now:

137.2 miles

I just rebooted an hour ago due to a new kernel.

On my server:

528.2 miles

Last reboot was about 2 weeks ago.

00ber n00b
January 30th, 2010, 06:02 AM
why is mine so high? I don't get it...

gspat
January 30th, 2010, 06:05 AM
whoo hoo!!!



glen@glen-desktop:~/Downloads/QuantZ$ 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/'
312.6 miles
glen@glen-desktop:~/Downloads/QuantZ$


now if it could just run wine... anything properly would be nice.

cascade9
January 30th, 2010, 06:05 AM
Hers the code for anybody to lazy to follow the the link mechro posted-


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/'286.1 miles.

I'm going to have to read that code and figure out just what its doing :S

mechro
January 30th, 2010, 06:14 AM
I'm going to have to read that code and figure out just what its doing :S

... in training for the Olympics?

blueshiftoverwatch
January 30th, 2010, 06:22 AM
570.2 miles

Hman242
January 30th, 2010, 08:34 AM
123.5 miles.

HappinessNow
January 30th, 2010, 08:41 AM
http://www.uluga.ubuntuforums.org/showpost.php?p=7249682&postcount=1

...88.7 miles

That is cool!


Linux users love stats, it seems. Conky set-ups and forum signatures are full of them. Well how about a real test of endurance? How far could your computer run if it had legs? Before it withers, dies, or explodes, that is.


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/'

I get 105.5 miles. Pretty healthy machine, I reckon. How about you?

Eisenwinter
January 30th, 2010, 09:10 AM
171.3 miles for me.

I'm quite happy about that, considering this machine is 5 years old.

:P

dmillerw
January 30th, 2010, 09:11 AM
111.4 miles, not bad...I think.

standingwave
January 30th, 2010, 09:59 AM
555.1 miles

So what does this mean?

Rhubarb
January 30th, 2010, 10:26 AM
403.78441 km :P

Ginsu543
January 30th, 2010, 10:33 AM
660.1 miles. Is it better to be higher or lower?

Paddy Landau
January 30th, 2010, 10:43 AM
Can't help with the question, but I'm reminded of a dialog along the following lines:
...
plugh
...
xyzzy
...
Adventure!
Get it from the repositories by installing bsdgames (apt:bsdgames).

RabbitWho
January 30th, 2010, 10:44 AM
171.3 miles for me.

I'm quite happy about that, considering this machine is 5 years old.

:P


99.4 miles... six months old.. but i have more ram than I know what to do with.

dmizer
January 30th, 2010, 12:40 PM
Interesting.

1254.2 miles

sailorboy
January 30th, 2010, 01:09 PM
So I got a 6yo dell- it shows 102.3 mikes- use compiz, just set up cairo. It's pretty cool- no opengl though.

Kai69
January 30th, 2010, 01:53 PM
Dell XPS M1330 2007 model

109.7miles

114.2 miles
121.5 miles
123.6 miles

soni1770
January 30th, 2010, 02:52 PM
108.7miles:p

dragos240
January 30th, 2010, 02:59 PM
159.2 miles

ChadMMc
January 30th, 2010, 03:56 PM
140.80miles for me. (old pentium 4 system) 8)

hard_i
January 30th, 2010, 04:01 PM
311.4 miles

fromthehill
January 30th, 2010, 04:14 PM
laptop: c2d 2GHz, 3GB ram, uptime less than 1 day. 166,2 miles
cheap server thingy: celeron 230 900MHz, 2GB ram, uptime 163 days. 237 miles

LightB
January 30th, 2010, 04:33 PM
Around the world and even on water, it's so fast!

Kai69
January 30th, 2010, 05:04 PM
Tried kicking it, it still wont move ):P

Roasted
January 30th, 2010, 06:03 PM
387.0

Kai69
January 30th, 2010, 06:20 PM
http://www.youtube.com/watch?v=f9NNCHFEX7g This one talks as well :lolflag:

markp1989
January 30th, 2010, 06:26 PM
http://www.uluga.ubuntuforums.org/showpost.php?p=7249682&postcount=1

...88.7 miles

my torrentslave gets 522.4 miles (cpu underclocked gona have a go at stock speeds). gona give this a go on my desktop and see what its gets :D

edit: just reboted my ts at stock cpu speeds, and mounted my 2nd drive: 815.5 miles

this one usualy has good uptime (it did till we had a power cut on monday :@ i really need a ups) so im expecting it to climb alot :D



my desktop gets 49.6 miles :S i was hoping for more then that as it is more powerfull then my desktop, but because its only got a 30gb ssd, the rest is mounted over nfs, which doesnt count in this list, so it thinks i only have a 30gb hdd lol

but i has only just been turned on, so the uptime part of the calculation will bring me down

my eeepc (900 12gb) which has just been turned on get 20.8 miles (even though its travled more then the other pcs combined lol )

markp1989
January 30th, 2010, 06:51 PM
sory for waking a dead thread, just like the idea of this :D


my torrentslave gets 522.4 miles (cpu underclocked gona have a go at stock speeds). gona give this a go on my desktop and see what its gets

edit: just reboted my ts at stock cpu speeds, and mounted my 2nd drive: 816.3 miles

this one usualy has good uptime (it did till we had a power cut on monday :@ i really need a ups) so im expecting it to climb alot



my desktop gets 49.6 miles :S i was hoping for more then that as it is more powerfull then my desktop, but because its only got a 30gb ssd, the rest is mounted over nfs, which doesnt count in this list, so it thinks i only have a 30gb hdd lol

but i has only just been turned on, so the uptime part of the calculation will bring me down

my eeepc (900 12gb) which has just been turned on get 20.8 miles (even though its travled more then the other pcs combined lol )

BlueWolf_
January 30th, 2010, 07:15 PM
Got 414.9 miles on my desktop. Got high expectations for my server, which had an uptime of 30 days. On my virtual (in wmware) server, I got 27.0 miles instead 8-[
On the host I actually got 207.6 miles. So if you would combine them, they can run 234.6 miles if they would work together. Still less than my desktop :p

skymera
January 30th, 2010, 07:43 PM
424.7miles

cariboo
January 30th, 2010, 08:37 PM
merged two threads on the same subject.

Psumi
January 30th, 2010, 08:39 PM
31.2 miles

Nice going, IBM T41 ;)

dragos240
January 30th, 2010, 08:40 PM
What does the script do exactly, where does it get that number?

Psumi
January 30th, 2010, 08:43 PM
what does the script do exactly, where does it get that number?


it adds a few computerstats up:
Uptime(uptime)+cpu clock(cat /proc/cpuinfo)+memory(free)+diskspace(df)
the rest is just formating which ends in this:
1799.768/30 +
784460/1024/3+
9084.23/15+70
this is then added with bc and given the arbitrary unit miles :)

my old pc goes 99.4 miles :)

bam!

ikt
January 30th, 2010, 08:45 PM
601.5 miles

SlickRick
January 30th, 2010, 11:00 PM
i got 105.5 but seems to change each time I run it.

anyone been able to put this in conkyrc to get conky to show your mileage? I'm must be doing something wrong.