Go Back   DaemonForums > Miscellaneous > Off-Topic

Off-Topic Everything else.

Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1   (View Single Post)  
Old 30th June 2010
vermaden's Avatar
vermaden vermaden is offline
Join Date: Apr 2008
Location: pl_PL.lodz
Posts: 1,053
Cool Something More Revelant then BSDSTATS.org

... recalling the recent thread about BSD usage statistics:

Generally http://bsdstats.org is only known by BSD users (and definitely not by all of them), so even having BIG stats out there is more or less pointless.

But there is other way to 'impress' other people with BSD stats ... http://distrowatch.com portal. It mainly focuses on Linux distributions but it also gathers stats for BSDs and OpenSolaris/Solaris 'distributions'.

First we would need to add www/lynx package (it does not need x11 dependency as www/links):
# pkg_add -r lynx

Having this simple line in all machines attached to network for 24/7 will add actual BSD users/machines count to DistroWatch portal stats:
0 4 * * * /usr/local/bin/lynx -dump -useragent="Lynx $( uname -spr )" http://distrowatch.com > /dev/null

Laptop users will propably have their system up and running in different times of the day/night, so it would be better to put such line into the /etc/rc.local file, so their system will 'send' stats at boot:
/usr/local/bin/lynx -dump -useragent="Lynx $( uname -spr )" http://distrowatch.com > /dev/null &

Such 'lynx dump' will create that line in the logs: - - [30/Jun/2010:14:15:24 +0200] "GET / HTTP/1.0" 200 75 "-" "Lynx FreeBSD 8.0-RELEASE-p3 amd64"

... so it definitely works.

We can even put our favorite browser to increase its 'stats':
% lynx -dump -useragent="Opera/9.80 (X11; $( uname -spr ); U; en) Presto/2.2.15 Version/10.00" http://distrowatch.com

... and here is the 'opera' result: - - [30/Jun/2010:14:19:21 +0200] "GET / HTTP/1.0" 200 75 "-" "Opera/9.80 (X11; FreeBSD 8.0-RELEASE-p3 amd64; U; en) Presto/2.2.15 Version/10.00"

Some may say 'isnt that cheating?', definitely not, we only appear one enter per one machine a day, and this DistroWatch stats are about that, 'hits per day' count about various operating systems.
religions, worst damnation of mankind
"If 386BSD had been available when I started on Linux, Linux would probably never had happened." Linus Torvalds

Linux is not UNIX! Face it! It is not an insult. It is fact: GNU is a recursive acronym for “GNU's Not UNIX”.
vermaden's: links resources deviantart spreadbsd
Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT. The time now is 08:51 AM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick