Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
08-07-2003, 10:11 PM
|
#1
|
Member
Registered: Feb 2003
Location: Phoenix, AZ - USA
Distribution: RedHat 8, Micro$haft
Posts: 33
Rep:
|
NIC real time status / traffic monitor?
I have a firewall set up with a stripped down RH 8.0 install. No GUI packages, all text based. The box has 2 NIC cards, and I'm using netfilter/iptables to control the firewall. The box is remote, and I log in and check it once in a while via SSH.
The firewall actually connects 2 internal networks together, both are 100Mbit, as are both the NIC cards. Users stream video through this server, sometimes using quite high bandwidth.
Is there a simple command I can use to monitor the REAL TIME usage and traffic level on this box? I can use "ifconfig" to see the quantity of data transfered over time, and I can see how many packets traversed the firewall via iptables counters, but I can't find exactly what I'm looking for.
I want to see a command that will spit out something like:
eth0:
Current: 24.8 Mbps / 25% capacity
Average: 15.4 Mbps / 15% capacity
eth1:
Current: 21.8 Mbps / 22% capacity
Average: 12.4 Mbps / 12% capacity
----
Is there any such beast built into linux? I can watch my network traffic in Performance/Networking monitor on my Win2k box, so I figure there MUST be something like this from the command line in linux also??
Thanks!!
|
|
|
08-08-2003, 12:34 AM
|
#2
|
Senior Member
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791
Rep:
|
Have you looked at MRTG. this gives you a graphical representation of bandwidth usage on your browser.
The backend requires MRTG and apache.
|
|
|
08-27-2003, 10:38 PM
|
#3
|
Member
Registered: Apr 2003
Location: Vail, CO
Posts: 73
Rep:
|
Im looking for something like this too, I host a pptp server and would like a real time monitor of who is using how much banwidth. Normally I just have to keep typing ifconfig all the time and read though everything, but I would like a program that I could use on telnet and updated in realtime. Basicly something like top. Top displays a realtime resource usage.
|
|
|
09-10-2003, 01:38 AM
|
#4
|
LQ Newbie
Registered: Sep 2003
Location: hong kong
Posts: 1
Rep:
|
how the syntax of ifconfig can show the result like yours?
|
|
|
All times are GMT -5. The time now is 09:46 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|