[20061001]
|
The *BSDstats Project
Dan sent me mail to point me at
The *BSDstats Project:
they provide a shellscript that's intended to be ran from
/etc/monthly.local (or any moral equivalent) to send them some
data on the local system (OS version, CPU, PCI hardware , ...)
that are published on their site.
Looking at the provided
shellscript
showed that the code for digging out the (PCI) devices was
FreeBSD-only. I've fixed that and some other minor issues in a
patch
patch that I've sent to the author for inclusion into future releases.
To install:
- Grab the shellscript
- Grab my patch
- Apply the patch: patch <bsdstats-300.statistics.diff
- Put it somewhere, e.g. into /usr/local/bin/bsdstats
- Start it in /etc/monthly.local, e.g.
#!/bin/sh
if [ -f /usr/local/bin/bsdstats ]; then
echo
/usr/local/bin/bsdstats
fi
- Enable by putting this into your /etc/rc.conf:
monthly_statistics_enable=YES
monthly_statistics_report_devices=YES
If someone wants to make a package for this: be my guest.
[Tags: bsdstats]
|