diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-01-21 20:46:32 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-01-21 20:46:32 +0000 |
commit | 0a47a55c042820feaed96c5504392c4885b98300 (patch) | |
tree | 6e2c02009433a71835ca4652fec43dccc5bc1a53 /packages | |
parent | af755e41af50170468efa51a97ed93f2a49f3f02 (diff) | |
download | pfsense-packages-0a47a55c042820feaed96c5504392c4885b98300.tar.gz pfsense-packages-0a47a55c042820feaed96c5504392c4885b98300.tar.bz2 pfsense-packages-0a47a55c042820feaed96c5504392c4885b98300.zip |
Pull stats every 5 minutes and generate graphs every 10
Diffstat (limited to 'packages')
-rw-r--r-- | packages/pfstat.xml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/pfstat.xml b/packages/pfstat.xml index 1f886f5a..19a0c3bf 100644 --- a/packages/pfstat.xml +++ b/packages/pfstat.xml @@ -27,19 +27,19 @@ <item> <modifyfilename>/etc/crontab</modifyfilename> <textneeded> -* * * * * root /usr/local/bin/pfstat -q >> /var/log/pfstat +*/5 * * * * root nice -n 20 /usr/local/bin/pfstat -q >> /var/log/pfstat </textneeded> </item> <item> <modifyfilename>/etc/crontab</modifyfilename> <textneeded> -*/5 * * * * root nice -n 20 /usr/local/bin/pfstat -c /usr/local/etc/pfstat.conf -d /var/log/pfstat +*/10 * * * * root nice -n 20 /usr/local/bin/pfstat -c /usr/local/etc/pfstat.conf -d /var/log/pfstat </textneeded> </item> <item> <modifyfilename>/etc/crontab</modifyfilename> <textneeded> -1 1 * * 1 root tail -n 50000 /var/log/pfstat >/tmp/pfstat && mv /tmp/pfstat /var/log/pfstat +1 1 * * 1 root nice -n 20 tail -n 50000 /var/log/pfstat >/tmp/pfstat && mv /tmp/pfstat /var/log/pfstat </textneeded> </item> </modify_system> |