| new topic post reply | Tech Patterns Forum Index ==> Open Source and Free Software :: Applications and Projects |
|
techAdmin
Back to top
Status: Site Admin Joined: 26 Sep 2003 Posts: 1711 Location: East Coast, West Coast? I know it's one of them. |
Very simple script, shows you distrowatch ranking for any distro or distros, and shows their daily page hit averages for the selected time period, and for day/month time frames, also if they are dropping, rising, or level relative to the previous day's average.
:: Code :: cd /usr/local/bin && wget -O dws smxi.org/dws && chmod +x dwsTypical script for me, check -h for options. -U updates it from smxi.org. -d tells it what distro to test for, see -h for details. You can check multiple distros by creating a comma separated list. -t 7|30|3|6|12|200[2-9] selects what time span to check with. default, no args, is debian 7 day stats. You can change the default by editing the top 3 lines. :: Code :: dws -d arch -t 2008
The arch distrowatch.com 2008 year position is: 17 (465) dws -d fedora The fedora distrowatch.com 7 day position is: 2 (1622+) dws -d openbsd,opensolaris,pcbsd -t 30 The openbsd distrowatch.com 30 day position is: 64 (146~) The opensolaris distrowatch.com 30 day position is: 39 (265-) The pcbsd distrowatch.com 30 day position is: 15 (592+) has error handling, and should tell you pretty much what went wrong when something fails. Newly developed feature: if you chown the script to your user name, it allows for user level updates, that took a while to figure out how to do. and that's about it, another odd little script made for little reason other than I think i was just bored today. |
|
All times are GMT - 8 Hours |
|
Contact Us
Hosting: Pair Networks: 0.114
Forum Software © 2001–2009 phpBB
techForum Style © 2003–2009 techpatterns.com
info
Hosting: Pair Networks: 0.114
Forum Software © 2001–2009 phpBB
techForum Style © 2003–2009 techpatterns.com
info