Re: BSDstats Project v2.0 ...

2006-08-07 Thread Matthew Seaman
Bill Moran wrote:
 In response to Pat Maddox [EMAIL PROTECTED]:
 
 For those of us who can't read minds, what's the port to install, and
 the website where we can view the stats? :)
 
 As a side track on this, it'd be nice if the port installation message
 said something like got to http://bsdstats.hub.org to see current stats
 

I think it would help uptake if when the bsdstats job is first run, it
issues you with a 'registered system number' -- then all of the folks with
low numbered systems get bragging rights...

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
  Kent, CT11 9PW



signature.asc
Description: OpenPGP digital signature


Re: BSDstats Project v2.0 ...

2006-08-07 Thread Chris
Daniel Gerzo wrote:
 Hello Chris,
 
 Monday, August 7, 2006, 11:17:41 PM, you wrote:
 
 Bill Moran wrote:
 In response to Pat Maddox [EMAIL PROTECTED]:

 For those of us who can't read minds, what's the port to install, and
 the website where we can view the stats? :)
 As a side track on this, it'd be nice if the port installation message
 said something like got to http://bsdstats.hub.org to see current stats

 
 I agree - another note:
 
 After the install, better documentation might be add. Meaning, it needs
 to be defined that the 2 lines
 
 Should reflect the proper location:
 
 /etc/rc.conf - assuming the knobs are needed here.
 
   sorry, but you are wrong here; the correct location is
   /etc/periodic.conf as documented.
 

I stand corrected.

-- 
Best regards,
Chris

Real programmers don't eat muffins.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: BSDstats Project v2.0 ...

2006-08-07 Thread Daniel Bye
On Mon, Aug 07, 2006 at 05:22:04PM -0300, Marc G. Fournier wrote:
 On Mon, 7 Aug 2006, Chris wrote:
 
 Just my .02 worth - that Sparc64 listing  Is mine Wheee!
 
 There are two Sparc64 listings ... both yours?

No - the other one is mine! 

Nice work, scrappy - every time I check back, there's more information
on the site.  Any word on the other groups joining in?

-- 
Daniel Bye

PGP Key: http://www.slightlystrange.org/pgpkey-dan.asc
PGP Key fingerprint: D349 B109 0EB8 2554 4D75  B79A 8B17 F97C 1622 166A
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \


pgpHLpa2rlVbn.pgp
Description: PGP signature


Re: BSDstats Project v2.0 ...

2006-08-07 Thread Boris Samorodov
On Mon, 7 Aug 2006 00:42:27 -0300 (ADT) Marc G. Fournier wrote:

 I've now committed v2.0 of the 300.statistics periodic script ... this
 one adds the device reporting that we'd talked about previously, and
 the summary reports now reflect the driver(s) in use for those
 deciding to report ...

Great, thanks Marc.
I just propose a tiny patch (the problem was discussed somewhere
today, may be at ports@):
-
--- Makefile.orig   Tue Aug  8 01:40:57 2006
+++ MakefileTue Aug  8 01:41:16 2006
@@ -22,6 +22,6 @@
${MKDIR} ${LOCALBASE}/etc/periodic/monthly
${CP} ${FILESDIR}/300.statistics ${LOCALBASE}/etc/periodic/monthly
 post-install:
-   ${CAT} pkg-message
+   ${CAT} ${PKGMESSAGE}
 
 .include bsd.port.post.mk
-


WBR
-- 
Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone  Internet SP
FreeBSD committer, http://www.FreeBSD.org The Power To Serve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: BSDstats Project v2.0 ...

2006-08-07 Thread Paul Schmehl

Boris Samorodov wrote:

On Mon, 7 Aug 2006 00:42:27 -0300 (ADT) Marc G. Fournier wrote:


I've now committed v2.0 of the 300.statistics periodic script ... this
one adds the device reporting that we'd talked about previously, and
the summary reports now reflect the driver(s) in use for those
deciding to report ...


Great, thanks Marc.
I just propose a tiny patch (the problem was discussed somewhere
today, may be at ports@):
-
--- Makefile.orig   Tue Aug  8 01:40:57 2006
+++ MakefileTue Aug  8 01:41:16 2006
@@ -22,6 +22,6 @@
${MKDIR} ${LOCALBASE}/etc/periodic/monthly
${CP} ${FILESDIR}/300.statistics ${LOCALBASE}/etc/periodic/monthly
 post-install:
-   ${CAT} pkg-message
+   ${CAT} ${PKGMESSAGE}
 

Shouldn't that be @${CAT} ${PKGMESSAGE}?

--
Paul Schmehl ([EMAIL PROTECTED])
Adjunct Information Security Officer
The University of Texas at Dallas
http://www.utdallas.edu/ir/security/


smime.p7s
Description: S/MIME Cryptographic Signature


Re: BSDstats Project v2.0 ...

2006-08-07 Thread Chris
Daniel Bye wrote:
 On Mon, Aug 07, 2006 at 05:22:04PM -0300, Marc G. Fournier wrote:
 On Mon, 7 Aug 2006, Chris wrote:

 Just my .02 worth - that Sparc64 listing  Is mine Wheee!
 There are two Sparc64 listings ... both yours?
 
 No - the other one is mine! 
 
 Nice work, scrappy - every time I check back, there's more information
 on the site.  Any word on the other groups joining in?
 

I do have a question tho -

What happens when one of wishes to upgrade. Say for example on my Sparc
- I want to go from RELEASE to STABLE.

At that point - is the port smart enough to remove old listings and put
forth the newer?

If not - having these status can and will be deceiving in a short time.

-- 
Best regards,
Chris

You can pray hard enough to make water run uphill
how hard?
Hard enough to make water run uphill.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: BSDstats Project v2.0 ...

2006-08-07 Thread Boris Samorodov
On Mon, 07 Aug 2006 16:56:42 -0500 Paul Schmehl wrote:
 Boris Samorodov wrote:
  On Mon, 7 Aug 2006 00:42:27 -0300 (ADT) Marc G. Fournier wrote:
 
  I've now committed v2.0 of the 300.statistics periodic script ... this
  one adds the device reporting that we'd talked about previously, and
  the summary reports now reflect the driver(s) in use for those
  deciding to report ...
 
  Great, thanks Marc.
  I just propose a tiny patch (the problem was discussed somewhere
  today, may be at ports@):
  -
  --- Makefile.orig   Tue Aug  8 01:40:57 2006
  +++ MakefileTue Aug  8 01:41:16 2006
  @@ -22,6 +22,6 @@
  ${MKDIR} ${LOCALBASE}/etc/periodic/monthly
  ${CP} ${FILESDIR}/300.statistics ${LOCALBASE}/etc/periodic/monthly
   post-install:
  -   ${CAT} pkg-message
  +   ${CAT} ${PKGMESSAGE}
   
 Shouldn't that be @${CAT} ${PKGMESSAGE}?

Well, I assume that it's more a style change. An @ may be prepended
at all those ${XX} commands. But it's up to author. While the change I
propose will work on some non-default settings. And may be the author
wants to show an administrator what is installing to the system.


WBR
-- 
Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone  Internet SP
FreeBSD committer, http://www.FreeBSD.org The Power To Serve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: BSDstats Project v2.0 ...

2006-08-07 Thread Antony Mawer

On 8/08/2006 7:17 AM, Chris wrote:

After the install, better documentation might be add. Meaning, it needs
to be defined that the 2 lines

To enable the port, edit or create /etc/periodic.conf and add this line:
monthly_statistics_enable=yes

To enable device reporting, add this line:
monthly_statistics_report_devices=yes


Why not tackle this in a similar manner to the Postfix port - after 
installing (provided we're not in a non-interactive build), we prompt:


Do you wish to activate stats reporting in /etc/periodic.conf [n]? y
Do you wish to report your installed hardware?
Would you like to submit your systems stats now?

or something along those lines. This would make it much easier than 
people installing the port and neglecting to set the appropriate lines, 
effectively achieving nil ;-)


-Antony
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: BSDstats Project v2.0 ...

2006-08-07 Thread Scott Sipe


On Aug 6, 2006, at 11:42 PM, Marc G. Fournier wrote:



I've now committed v2.0 of the 300.statistics periodic script ...  
this one adds the device reporting that we'd talked about  
previously, and the summary reports now reflect the driver(s) in  
use for those deciding to report ...


This Phase of the script is optional, and not enabled by  
default ... I can't think of any reason why you wouldn't want to  
report it, but just in case someone feels it poses a problem, its  
an opt-in report ...


pkg-message updated to reflect the extra line you need to add to / 
etc/periodic.conf:


monthly_statistics_report_devices=yes

I've written it to report driver + chip= information from pciconf - 
l, since even pciconf -lv doesn't seem to use card= ... the summary  
report will be extended next to show both vendor and chip  
statistics ...


Let me know of any problems ...



Just got it installed on two systems--exciting!

Any thoughts on adding uptime tracking (ie, desirable or not)? Could  
be something very simple client side, like:


--- /usr/ports/sysutils/bsdstats/files/300.statistics   Sun Aug  6  
23:35:39 2006
+++ /usr/local/etc/periodic/monthly/300.statistics  Mon Aug  7  
19:43:47 2006

@@ -20,7 +20,8 @@
   HN=`/bin/hostname`
   SYS=`/usr/bin/uname -r`
   ARCH=`/usr/bin/uname -m`
-  /usr/bin/fetch -qo /tmp/getid http://bsdstats.hub.org/scripts/ 
getid.php?hn=$HN\sys=$SYS\arch=$ARCH

+  UP=`/usr/bin/uptime | /usr/bin/grep -o up [^,]*,[^,]*,`
+  /usr/bin/fetch -qo /tmp/getid http://bsdstats.hub.org/scripts/ 
getid.php?hn=$HN\sys=$SYS\arch=$ARCH\up=$UP

   case $monthly_statistics_report_devices in
  [Yy][Ee][Ss])
IFS=

Scott
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: BSDstats Project v2.0 ...

2006-08-07 Thread Marc G. Fournier

On Mon, 7 Aug 2006, Bill Moran wrote:


In response to Pat Maddox [EMAIL PROTECTED]:


For those of us who can't read minds, what's the port to install, and
the website where we can view the stats? :)


As a side track on this, it'd be nice if the port installation message
said something like got to http://bsdstats.hub.org to see current stats


Good point, and done ...


Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
Email . [EMAIL PROTECTED]  MSN . [EMAIL PROTECTED]
Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: BSDstats Project v2.0 ...

2006-08-07 Thread Marc G. Fournier

On Mon, 7 Aug 2006, Matthew Seaman wrote:

I think it would help uptake if when the bsdstats job is first run, it 
issues you with a 'registered system number' -- then all of the folks 
with low numbered systems get bragging rights...


Actually, there is no registered system number, as there is no 
registration process ... that was the key requirement for doing this, 
was that it was as hands off as possible, and having to go to a web site 
to register each and every host was just too onerous of a task ...



Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
Email . [EMAIL PROTECTED]  MSN . [EMAIL PROTECTED]
Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: BSDstats Project v2.0 ...

2006-08-07 Thread Marc G. Fournier

On Mon, 7 Aug 2006, Daniel Bye wrote:


On Mon, Aug 07, 2006 at 05:22:04PM -0300, Marc G. Fournier wrote:

On Mon, 7 Aug 2006, Chris wrote:


Just my .02 worth - that Sparc64 listing  Is mine Wheee!


There are two Sparc64 listings ... both yours?


No - the other one is mine!

Nice work, scrappy - every time I check back, there's more information 
on the site.  Any word on the other groups joining in?


I've only heard from Matt @ DragonflyBSD ... if anyone knows other using 
the other BSDs, encourage them to join in ... we're going to put a proper 
how to run message up on the site shortly ...



Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
Email . [EMAIL PROTECTED]  MSN . [EMAIL PROTECTED]
Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: BSDstats Project v2.0 ...

2006-08-07 Thread Marc G. Fournier

On Mon, 7 Aug 2006, Chris wrote:


Daniel Bye wrote:

On Mon, Aug 07, 2006 at 05:22:04PM -0300, Marc G. Fournier wrote:

On Mon, 7 Aug 2006, Chris wrote:


Just my .02 worth - that Sparc64 listing  Is mine Wheee!

There are two Sparc64 listings ... both yours?


No - the other one is mine!

Nice work, scrappy - every time I check back, there's more information
on the site.  Any word on the other groups joining in?



I do have a question tho -

What happens when one of wishes to upgrade. Say for example on my Sparc
- I want to go from RELEASE to STABLE.

At that point - is the port smart enough to remove old listings and put
forth the newer?


Its smart enough to know you've updated, and updates the record ... but, 
it will only update the record for the *current* month, not past months 
...



Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
Email . [EMAIL PROTECTED]  MSN . [EMAIL PROTECTED]
Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: BSDstats Project v2.0 ...

2006-08-07 Thread Marc G. Fournier


Done, thanks ...

On Tue, 8 Aug 2006, Boris Samorodov wrote:


On Mon, 7 Aug 2006 00:42:27 -0300 (ADT) Marc G. Fournier wrote:


I've now committed v2.0 of the 300.statistics periodic script ... this
one adds the device reporting that we'd talked about previously, and
the summary reports now reflect the driver(s) in use for those
deciding to report ...


Great, thanks Marc.
I just propose a tiny patch (the problem was discussed somewhere
today, may be at ports@):
-
--- Makefile.orig   Tue Aug  8 01:40:57 2006
+++ MakefileTue Aug  8 01:41:16 2006
@@ -22,6 +22,6 @@
${MKDIR} ${LOCALBASE}/etc/periodic/monthly
${CP} ${FILESDIR}/300.statistics ${LOCALBASE}/etc/periodic/monthly
post-install:
-   ${CAT} pkg-message
+   ${CAT} ${PKGMESSAGE}

.include bsd.port.post.mk
-


WBR
--
Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone  Internet SP
FreeBSD committer, http://www.FreeBSD.org The Power To Serve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]




Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
Email . [EMAIL PROTECTED]  MSN . [EMAIL PROTECTED]
Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: BSDstats Project v2.0 ...

2006-08-07 Thread Marc G. Fournier

On Mon, 7 Aug 2006, Scott Sipe wrote:


+  UP=`/usr/bin/uptime | /usr/bin/grep -o up [^,]*,[^,]*,`


Is there a way of getting this consistently in seconds?  I've checked 
sysctl, and 6.x seems to have some of the information there, but 4.x 
definitely doesn't ...


And, uptime would definitely be another 'opt-in' feature, not required ...



Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
Email . [EMAIL PROTECTED]  MSN . [EMAIL PROTECTED]
Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: BSDstats Project v2.0 ...

2006-08-07 Thread David Schulz
Ok i love the Idea of this, and will have all my machines running  
that in no time. Just make the Site look more sleek :)
I will be hopefully the first one representing China on that list as  
well (brag :-)


On Aug 8, 2006, at 4:42 AM, Pat Maddox wrote:


On 8/6/06, Marc G. Fournier [EMAIL PROTECTED] wrote:


I've now committed v2.0 of the 300.statistics periodic script ...  
this one

adds the device reporting that we'd talked about previously, and the
summary reports now reflect the driver(s) in use for those  
deciding to

report ...

This Phase of the script is optional, and not enabled by  
default ... I
can't think of any reason why you wouldn't want to report it, but  
just in

case someone feels it poses a problem, its an opt-in report ...

pkg-message updated to reflect the extra line you need to add to
/etc/periodic.conf:

 monthly_statistics_report_devices=yes

I've written it to report driver + chip= information from pciconf -l,
since even pciconf -lv doesn't seem to use card= ... the summary  
report

will be extended next to show both vendor and chip statistics ...

Let me know of any problems ...


Marc G. Fournier   Hub.Org Networking Services (http:// 
www.hub.org)
Email . [EMAIL PROTECTED]  MSN .  
[EMAIL PROTECTED]

Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions- 
[EMAIL PROTECTED]




For those of us who can't read minds, what's the port to install, and
the website where we can view the stats? :)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions- 
[EMAIL PROTECTED]


!DSPAM:1,44d7a5856296700320863!





___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: BSDstats Project v2.0 ...

2006-08-07 Thread Tuc at T-B-O-H.NET
 
 To enable the port, edit or create /etc/periodic.conf and add this line:
 monthly_statistics_enable=yes
 
Shouldn't it be /etc/periodic.conf.local since its not part
of the base? Thats where I've put other things that install periodics
that aren't part of the base.

Tuc/TBOH
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: BSDstats Project v2.0 ...

2006-08-07 Thread andrew clarke
On Mon, Aug 07, 2006 at 04:14:50PM -0300, Marc G. Fournier wrote:

 right now, we are at ~200 hosts checking in, from various time zones (see
 http://bsdstats.hub.org/bsd_statistics.php for countries that have checked
 in so far) ... so, even at month end, taking into consideration time zones,
 I don't expect a major hit ... now, if we get to 10's of thousands of hosts,
 which I'd *love*, then I may worry, but by then, I'll have a Dual-Core
 Dual CPU server in place that I can move the whole thing over onto ...

This is good, but what is stopping someone with an axe to grind from
writing a rogue script to report fictional results?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: BSDstats Project v2.0 ...

2006-08-07 Thread Marc G. Fournier

On Tue, 8 Aug 2006, andrew clarke wrote:


On Mon, Aug 07, 2006 at 04:14:50PM -0300, Marc G. Fournier wrote:


right now, we are at ~200 hosts checking in, from various time zones (see
http://bsdstats.hub.org/bsd_statistics.php for countries that have checked
in so far) ... so, even at month end, taking into consideration time zones,
I don't expect a major hit ... now, if we get to 10's of thousands of hosts,
which I'd *love*, then I may worry, but by then, I'll have a Dual-Core
Dual CPU server in place that I can move the whole thing over onto ...


This is good, but what is stopping someone with an axe to grind from
writing a rogue script to report fictional results?


Unfortunately, nothing ... and, also unfortunately, after extensive 
discussions on this list with others about possible ways to avoid it, 
there really isn't anything short of a 'required registration procedure' 
that can be done for that ...


that said, someone from Germany tried that this morning, submitting 41 
'hosts' that were quite obviously bogus (FreeBSD 8.x anyone?) and were 
easily removed from the system ...



Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
Email . [EMAIL PROTECTED]  MSN . [EMAIL PROTECTED]
Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: BSDstats Project v2.0 ...

2006-08-07 Thread Marc G. Fournier

On Tue, 8 Aug 2006, Tuc at T-B-O-H.NET wrote:



To enable the port, edit or create /etc/periodic.conf and add this line:
monthly_statistics_enable=yes


Shouldn't it be /etc/periodic.conf.local since its not part
of the base? Thats where I've put other things that install periodics
that aren't part of the base.


I've always put it in /etc/periodic.conf, since the 'system one' is 
/etc/defaults/periodic.conf, or so I thought ... same as 
/etc/defaults/rc.conf vs /etc/rc.conf ...



Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
Email . [EMAIL PROTECTED]  MSN . [EMAIL PROTECTED]
Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


<    1   2