PDA

View Full Version : Need some Linux help


Jeslek
10/09/02, 07:40pm
OK, I have a Linux machine with two network cards. eth1 serves the LAN and eth0 the cable modem. Is there a way of monitoring traffic? I mean in megabytes transferred? I don't need it to take action, but occasionally I want to check out or download and upload stuff, and it should reset on a monthly basis.

Luis G
10/09/02, 09:17pm
try ifconfig and see if that pleases you

Jeslek
10/09/02, 09:33pm
Not really, how do I reset it?

Luis G
10/09/02, 09:39pm
hmmmm, i don't know how to reset it.

ifconfig gives the info in bytes TX/RX. try ifconfig --help and see if there's a way to reset the counters.

Jeslek
10/09/02, 09:50pm
ifconfig is very crude, is there a nicer application out there that will give me detailed stats on average and current download speeds, and current traffic this month for in and out?

outside looking in
10/09/02, 10:57pm
ifconfig is very crude, is there a nicer application out there that will give me detailed stats on average and current download speeds, and current traffic this month for in and out?

Yes, there is, but I have no idea what it's called. You're probably looking for something like this (http://ws73-217.patterson.msstate.edu/GameTrakker/), which keeps stats on our UT server's network and CPU utilization.

It has more detailed network stats on this page (http://ws73-217.patterson.msstate.edu/GameTrakker/mrtg/Penguin-rex.bw.html). There's a contact link for the server admin on that page as well... he has used linux for quite a while and might be able to point you in the direction of a genralized network watcher application.

Jeslek
10/10/02, 08:41pm
I got a program called ntop. It compiled and installed just fine. You can view the stats by connecting with a web browser to port 3000. :D Here is a screenshot.

Screenshot shrunk to 80% of original size.

Attachment(s):

ntop.jpg, 231.41kb

http://www.otcentral.com/forum/oldattachments/149_1034293279.jpg

Jeslek
10/10/02, 08:42pm
Correction, Enterprise 2x04!! I have 2x03. :D