Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: Howard on October 07, 2003, 04:24:42 PM
-
Hi,
I am trying to find a way to reset the NIC stats on PHPSysInfo so that I can monitor how much has been downloaded / uploaded on a daily basis..
Does anyone know if/how this can be done or if there is another utility that can be used for this..? - I have searched on the forums and can't find the answer.
Thanks
Howard
-
yes just either reboot the machine or type at command
ifdown eth0
to take it down then
ifup eth0
to bring it back up
eth0 being your nic to find that out type ifconfig
Byte
-
I've tried this and the stats stay the same.. Any other ideas?
Thanks
Howard
-
Really??? thats strange as it doesnt do that on mine sets back to 0 after doing ifdown or rebooting as effectively the eth0 tx and rx are back to 0
-
I dont no what could be done then as that works for mine
Sorry
Byte
-
Hmmm, I've not tried rebooting yet as this is something I want to avoid..
-
One thing I have found is IBmonitor.. which looks like it does what I need but I can;t seem to get it working. When I run the perl script i justget command not found.
-
Sorry, just have to make sure, "Are you in the directory where the ibmonitor script is?"
-
Hi,
Yes... I downloaded and unarchived the program and while in that directory - ran the script.. Do I need just to type the name of the script or do I need to preceed it with something..?
Thanks
-
Maybe I was being daft... It works if I type "perl ibmonitor"..
Does anyone know why I would be getting a lot of traffic on my external nic..? Web page is not being hit.. Other than that, I am only running the mail server.?
Thanks
Howard
-
chmod a+x the ibmonitor and drop it in /usr/bin
Then run it from anywhere with "ibmonitor"
as for you external activity, how much are we activity are we talking about. Could you post some stats?