Track Your B$ Asset Growth
To create a graphics like above, you need a webserver and MRTG. MRTG should be configured like this:
WorkDir: /path/to/your/web/page/public_html/blogsharesScript which feed raw data to MRTG is:
Target[blogshares]: `/path/to/your/mrtg/script/bs.sh`
MaxBytes[blogshares]: 4000000000000000
Title[blogshares]: Grafik kekayaan blogshares
PageTop[blogshares]: <H1>Grafik kekayaan blogshares</H1>
Options[blogshares]: nopercent, gauge, growright, noinfo
YLegend[blogshares]: B$
kMG[blogshares]: ,k,M,B,T,Q
ShortLegend[blogshares]:
Legend1[blogshares]: Total Cash
Legend2[blogshares]: Total Worth
LegendI[blogshares]: Cash:
LegendO[blogshares]: Worth:
#!/bin/shThen you need a cron entry to run MRTG with above configuration every 30 minutes.
lynx -dump http://blogshares.com/user.php?id=27221 | egrep -e '(Cash Balance|Total Worth B)' | sed -e 's/B\$//' | sed -e 's/,//g' | awk '{print $3}'
date
echo Andika Triwidada
So? Let's start graphing! :D
2 Comments:
Great....
This is mine :
http://charly.goblok.or.id/blogshares/
saying hello to id b$ players....cheers you have some good players here....
Post a Comment
<< Home