Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: Howard on September 12, 2003, 04:46:51 PM

Title: phpsysinfo - reset stats
Post by: Howard on September 12, 2003, 04:46:51 PM
Hi,

I have successfully installed phpsysinfo.. Fantastic..

What I was wondering was if there a way to reset the network usage stats on a daily basis.

Thanks
Howard
Title: Re: phpsysinfo - reset stats
Post by: Per Smith on September 19, 2003, 02:15:02 AM
I made some changes to the phpsysinfo network module in the past, but I've taken that machine down, and I'm not using that funtionality of on my recent server.

I made a script, which were put in /etc/cron.monthly, which copied some network statistics data into a "safe" file, which were used to calculate the amount of data transferred each month.

The method I used could easily be put in /etc/cron.daily instead, and you would then be able to se the daily traffic.

Best regards
Per Smith