BSDStats Report for December 1st, 2006

Boris Samorodov bsam at
Mon Dec 4 09:49:02 PST 2006

On Sun, 03 Dec 2006 20:28:15 -0400 Marc G. Fournier wrote:
> --On Monday, December 04, 2006 02:07:08 +0300 Boris Samorodov <bsam at> 
> wrote:
> > On Sun, 03 Dec 2006 17:05:04 -0400 Marc G. Fournier wrote:
> >
> >> If its diskless, will each reboot end up reporting as a whole new host each
> >> time, or is there some way of saving that /var/db/bsdstats across reboots?
> >
> > We use memory mounted /var. :-(
> > Ok, let's only our servers do the reporting.

> 'k, I'm clueless on diskless, so this may or may not be doable ... but would it 
> be possible to cp the bsdstats file from the 'disk mount server' to 
> /var/db/bsdstats on reboot?

> Say, something scripted like:

> if [ ! -f /var/db/bsdstats ]; then
>   if [ -f <remotemount>/bsdstats.`hostname` ]; then
>      cp <remotemount>/bsdstats.`hostname` /var/db/bsdstats
>   else
>      run 300.statistics
>      cp /var/db/bsdstats <remotemount>/bsdstats.`hostname`
>   fi
> fi

Yes, those machines use NFS home directories which may be used. Thanks
for the tip.

> Add something like that (real code at least) to the init/rc file used on the 
> diskless station, to be run after all mounts are up?

As I said I'm afraid those machines may give some destabilization to
bsdstats results when the First of month is a holiday/weekend. So I'm
not sure if it's a good thing to report them to What do
you think?

Boris Samorodov (bsam)
Research Engineer, Telephone & Internet SP
FreeBSD committer, The Power To Serve

More information about the freebsd-advocacy mailing list