Marc G. Fournier | 2 Oct 2006 01:12
Picon
Favicon

BSDStats 4.0 - You need to upgrade ...

IMPORTANT! This message has been blind-carbon-copied to you.
Do not reply-to-all or forward it without the author's permission.

Apologies for the multi-list post, but I've been receiving several requests 
from varous *BSD users about this, so figured I'd hit everyone in one fell 
swoop ...

First, for those that aren't aware, back in August, after some lengthy 
discussions on the FreeBSD mailing lists, I built a script that is meant to 
provide a means of building up usage metrics for the *BSD operating systems ... 
something that refreshes itself mountly (ie. periodic monthly script in 
FreeBSD) so that it isn't "who installed *BSD", but "who is currently running 
*BSD" ...

The results of this work can be seen at http://www.bsdstats.org

This is not a "FreeBSD is better then ..." sort of thing, although some wish to 
see it that way ... the point is to get an idea of how many are running *BSDs 
to show vendors (both software and hardware) that we aren't just a bunch of 
hobbiest, but are viable market that they should be addressing.

Since we started this, we've hit two hurdles that had to be addressed by 
upgrading the script in such a way that makes the older ones unable to be used 
for reporting ...

If you are running the script, please make sure that you are running the 
*newest* version, which is available at:

               http://www.bsdstats.org/downloads/300.statistics

(Continue reading)

Marc G. Fournier | 2 Oct 2006 02:07
Picon
Favicon

BSDStats 4.0 - You need to upgrade ...


Apologies for the multi-list post, but I've been receiving several requests
from varous *BSD users about this, so figured I'd hit everyone in one fell
swoop ...

First, for those that aren't aware, back in August, after some lengthy
discussions on the FreeBSD mailing lists, I built a script that is meant to
provide a means of building up usage metrics for the *BSD operating systems ...
something that refreshes itself mountly (ie. periodic monthly script in
FreeBSD) so that it isn't "who installed *BSD", but "who is currently running
*BSD" ...

The results of this work can be seen at http://www.bsdstats.org

This is not a "FreeBSD is better then ..." sort of thing, although some wish to
see it that way ... the point is to get an idea of how many are running *BSDs
to show vendors (both software and hardware) that we aren't just a bunch of
hobbiest, but are viable market that they should be addressing.

Since we started this, we've hit two hurdles that had to be addressed by
upgrading the script in such a way that makes the older ones unable to be used
for reporting ...

If you are running the script, please make sure that you are running the
*newest* version, which is available at:

               http://www.bsdstats.org/downloads/300.statistics

For those paranoid about running stuff like this ... its a shell script, and
there is nothing 'hidden' or 'covert' about it ... it sends in what operating
(Continue reading)

Marc G. Fournier | 2 Oct 2006 03:28
Picon
Favicon

Looking for HowTo instructions ...


Can someone that has installed BSDstats on your server please email me 
instructions on *how* to install it for your flavor of BSD?  I do not believe 
that either OpenBSD or NetBSD has a 'periodic' system similar to FreeBSDs, and 
would like to put something up on the site explaining how to install such that 
it runs once a month, specific to each flavors recommended method ...

Thx ...

matthew sporleder | 2 Oct 2006 04:51
Picon

Re: Looking for HowTo instructions ...

On 10/1/06, Marc G. Fournier <scrappy <at> freebsd.org> wrote:
>
> Can someone that has installed BSDstats on your server please email me
> instructions on *how* to install it for your flavor of BSD?  I do not believe
> that either OpenBSD or NetBSD has a 'periodic' system similar to FreeBSDs, and
> would like to put something up on the site explaining how to install such that
> it runs once a month, specific to each flavors recommended method ...
>

Wouldn't cron be best suited for this task?  That would seem pretty
logical for running a shell script on a timed basis.  It's also quite
portable.  I read the man page for periodic, but the usefulness of it
seems quite mysterious to me.  ;)
From crontab(5):
           <at> monthly        Run once a month, "0 0 1 * *".

 (personally, I like the 0 0 1 * * method)
_Matt

Marc G. Fournier | 2 Oct 2006 05:02
Picon
Favicon

Re: Looking for HowTo instructions ...


The point of using periodic, at least under FreeBSD, is that there is a 
'report' that is issued at the end of the monthly periodic run letting the 
admin know the status of various things on their servers ...

So, for instance, it would give them a monthly reminder that the script *is* 
running on their machine ...

--On Sunday, October 01, 2006 22:51:35 -0400 matthew sporleder 
<msporleder <at> gmail.com> wrote:

> On 10/1/06, Marc G. Fournier <scrappy <at> freebsd.org> wrote:
>>
>> Can someone that has installed BSDstats on your server please email me
>> instructions on *how* to install it for your flavor of BSD?  I do not believe
>> that either OpenBSD or NetBSD has a 'periodic' system similar to FreeBSDs,
>> and would like to put something up on the site explaining how to install
>> such that it runs once a month, specific to each flavors recommended method
>> ...
>>
>
>
> Wouldn't cron be best suited for this task?  That would seem pretty
> logical for running a shell script on a timed basis.  It's also quite
> portable.  I read the man page for periodic, but the usefulness of it
> seems quite mysterious to me.  ;)
> From crontab(5):
>            <at> monthly        Run once a month, "0 0 1 * *".
>
>  (personally, I like the 0 0 1 * * method)
(Continue reading)

Ian Darwin | 2 Oct 2006 03:48
Picon
Favicon
Gravatar

Re: Looking for HowTo instructions ...

Marc G. Fournier wrote:
> Can someone that has installed BSDstats on your server please email me 
> instructions on *how* to install it for your flavor of BSD? 

I haven't, yet, I keep hoping somebody will package it as an OpenBSD 
"port" and save me the trouble of figuring out how to set it up (this 
would also save you the trouble of documenting it).

I do not
> believe that [...] OpenBSD [...] has a 'periodic' system similar to 
> FreeBSDs, 

Not sure what you mean by "a periodic system" but all unixes have 'cron' 
as a standard feature, and the canonical entry for monthly use is smth like:

30      5       1       *       *       /bin/sh /etc/monthly 2>&1 | tee 
/var/log/monthly.out | mail -s "`/bin/hostname` monthly output" root

In fact, that's already installed by default, so you could just put an
entry in /etc/monthly, at least on OpenBSD.

and would like to put something up on the site explaining how
> to install such that it runs once a month, specific to each flavors 
> recommended method ...

Martin Schröder | 2 Oct 2006 11:08
Picon

Re: Looking for HowTo instructions ...

2006/10/2, Marc G. Fournier <scrappy <at> freebsd.org>:
> Can someone that has installed BSDstats on your server please email me
> instructions on *how* to install it for your flavor of BSD?  I

Usually through ports(7).

Best
   Martin

Dave Tyson | 2 Oct 2006 13:34
Picon
Favicon

Looking for HowTo instructions ...

>Can someone that has installed BSDstats on your server please email me 
>instructions on *how* to install it for your flavor of BSD?  I do not believe 
>that either OpenBSD or NetBSD has a 'periodic' system similar to FreeBSDs, 
>and would like to put something up on the site explaining how to install 
>such that it runs once a month, specific to each flavors recommended 
>method ...
>
>Thx ...

Hubert feyer has published a patch and some notes on his blog for NetBSD:

http://www.feyrer.de/NetBSD/bx/blosxom.cgi/index.front

Dave

[Just putting our 40 systems in!]

--

-- 
=====================================================================
Computing Services Dept         Phone/Fax: 0151-794-3731/3759
The University of Liverpool     Email: dtyson <at> liv.ac.uk
Chadwick Tower, Peach Street    WWW:   http://www.liv.ac.uk/~dtyson
Liverpool L69 7ZF               Open Source O/S: www.netbsd.org
=====================================================================

Manuel Bouyer | 2 Oct 2006 20:21

Re: Looking for HowTo instructions ...

On Mon, Oct 02, 2006 at 12:02:34AM -0300, Marc G. Fournier wrote:
> 
> The point of using periodic, at least under FreeBSD, is that there is a 
> 'report' that is issued at the end of the monthly periodic run letting the 
> admin know the status of various things on their servers ...
> 
> So, for instance, it would give them a monthly reminder that the script 
> *is* running on their machine ...

The standard output and errors of cron jobs is mailed to the owner of the
cron tab. I'm not sure what periodic can do more in this area.

--

-- 
Manuel Bouyer, LIP6, Universite Paris VI.           Manuel.Bouyer <at> lip6.fr
     NetBSD: 26 ans d'experience feront toujours la difference
--

Andrew Reilly | 2 Oct 2006 22:25
Favicon

Re: Looking for HowTo instructions ...

On Mon, Oct 02, 2006 at 08:21:30PM +0200, Manuel Bouyer wrote:
> On Mon, Oct 02, 2006 at 12:02:34AM -0300, Marc G. Fournier wrote:
> > 
> > The point of using periodic, at least under FreeBSD, is that there is a 
> > 'report' that is issued at the end of the monthly periodic run letting the 
> > admin know the status of various things on their servers ...
> > 
> > So, for instance, it would give them a monthly reminder that the script 
> > *is* running on their machine ...
> 
> The standard output and errors of cron jobs is mailed to the owner of the
> cron tab. I'm not sure what periodic can do more in this area.

It just saves you from getting multiple messages.  Putting a
script in /etc/periodic/monthly is exactly the same as adding
that script onto/into /etc/monthly.local.  In fact, FreeBSD still
has /etc/monthly.local, which is run by /etc/monthly/999.local.

Part of the "adding and removing scripts from directories is
easier for the package management system than sed scripts"
theory, I suspect.

Cheers,

--

-- 
Andrew


Gmane