Date: Wed, 09 Aug 2006 10:00:23 -0500 From: Paul Schmehl <pauls@utdallas.edu> To: "Marc G. Fournier" <scrappy@freebsd.org> Cc: freebsd-questions@freebsd.org Subject: Re: BSDstats Project v2.0 ... Message-ID: <44D9F887.9030305@utdallas.edu> In-Reply-To: <20060809055035.J7522@ganymede.hub.org> References: <20060807003815.C7522@ganymede.hub.org> <20060808102819.GB64879@augusta.de> <20060808153921.V7522@ganymede.hub.org> <44D8EC98.8020801@utdallas.edu> <20060808201359.S7522@ganymede.hub.org> <44D91F02.90107@mawer.org> <20060808212719.L7522@ganymede.hub.org> <30502313-7B58-4FEC-8A2C-43ED071AC26F@u.washington.edu> <20060809055035.J7522@ganymede.hub.org>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
Someone mentioned having output from the script so you would know it was
running. This patch would do that, if you want to add that functionality.
--- 300.statistics.orig Wed Aug 9 09:49:35 2006
+++ 300.statistics Wed Aug 9 09:54:17 2006
@@ -44,6 +44,7 @@
SYS=`/usr/bin/uname -r`
ARCH=`/usr/bin/uname -m`
do_fetch getid.php?hn=$HN\&sys=$SYS\&arch=$ARCH\&opsys=$OS
+ echo "Posting monthly OS statistics to bsdstats.hub.org\n"
case "$monthly_statistics_report_devices" in
[Yy][Ee][Ss])
IFS="
@@ -57,6 +58,7 @@
DEV=`echo $line | awk '{print $4}' | cut -c8-11`
do_fetch
report_device.php?driver=$DRIVER\&vendor=$VEN\&device=$DEV\&hn=$HN
done
+ echo "Posting monthly device statistics to bsdstats.hub.org\n"
line=$( sysctl -n hw.model )
VEN=$( echo $line | cut -d ' ' -f 1 )
@@ -69,6 +71,7 @@
do_fetch
report_cpu.php?cpu_id=CPU$n\&vendor=$VEN\&cpu_type=$DEV\&hn=$HN
n=$(( $n + 1 ))
done
+ echo "Posting monthly CPU statistics to bsdstats.hub.org\n"
;;
esac
--
Paul Schmehl (pauls@utdallas.edu)
Adjunct Information Security Officer
The University of Texas at Dallas
http://www.utdallas.edu/ir/security/
[-- Attachment #2 --]
0 *H
010 + 0 *H
N00AA=e0
*H
010 UUS10U
VeriSign, Inc.1<0:U3Class 2 Public Primary Certification Authority - G21:08U1(c) 1998 VeriSign, Inc. - For authorized use only10UVeriSign Trust Network0
990331000000Z
090330235959Z01'0%U
The University of Texas System10UVeriSign Trust Network1;09U2Terms of use at https://www.verisign.com/rpa (c)991200U)Class 2 CA - OnSite Individual Subscriber1-0+U$The University of Texas at Dallas CA00
*H
0
"zھ6p`0`S/5ɨ)=d}чTxxLIA
ҥ~BQNths]1)%c#Dj9FXúKzI#C2 00)U"0 010UPrivateLabel1-1400 `HB0DU =0;09`HE0*0(+