From 0cb6ac8f24209ca8efbbf0d54440aa89337e0949 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Mon, 7 Aug 2006 21:37:19 +0000 Subject: Add BSDStats package. From their webpage: The mission of this site is to try and come up with semi-accurate numbers for both advocacy, and marketing, of the *BSD Operating Systems. More specifically, we are trying to prove to the various vendors out there that *BSD should be viewed as a serious Operating System, and not just a hobbiest system, for support (ie. hardware drivers) purposes. Primarily started to provide numbers for FreeBSD deployments, we are designing the system so that NetBSD, OpenBSD and DragonFlyBSD can participate as well. The script used for reporting can be found in the FreeBSD ports tree under sysutils/bsdstats. If you have any questions, or suggestions, please email scrappy@freebsd.org --- packages/bsdstats/bsdstats.xml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 packages/bsdstats/bsdstats.xml (limited to 'packages') diff --git a/packages/bsdstats/bsdstats.xml b/packages/bsdstats/bsdstats.xml new file mode 100644 index 00000000..35e3ba01 --- /dev/null +++ b/packages/bsdstats/bsdstats.xml @@ -0,0 +1,23 @@ + + + BSDStats + bsdstats + 0.1 + + + BSDStats + BSDStats + +
Diagnostics
+
+ + system("echo monthly_statistics_report_devices=yes >> /etc/periodic.conf"); + system("echo monthly_statistics_enable=yes >> /etc/periodic.conf"); + system("/usr/local/etc/periodic/monthly/300.statistics"); + + + system("cat /etc/periodic.conf | grep -n \"monthly_statistics_report_devices\" >/tmp/periodic.conf"); + system("cat /tmp/periodic.conf | grep -n \"monthly_statistics_enable\" >/etc/periodic.conf"); + system("rm /usr/local/etc/periodic/monthly/300.statistics"); + +
-- cgit v1.2.3