LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-07-2003, 10:11 PM   #1
KendersPlace
Member
 
Registered: Feb 2003
Location: Phoenix, AZ - USA
Distribution: RedHat 8, Micro$haft
Posts: 33

Rep: Reputation: 15
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!!
 
Old 08-08-2003, 12:34 AM   #2
ppuru
Senior Member
 
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791

Rep: Reputation: 50
Have you looked at MRTG. this gives you a graphical representation of bandwidth usage on your browser.

The backend requires MRTG and apache.
 
Old 08-27-2003, 10:38 PM   #3
MarleyGPN
Member
 
Registered: Apr 2003
Location: Vail, CO
Posts: 73

Rep: Reputation: 15
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.
 
Old 09-10-2003, 01:38 AM   #4
edmondto
LQ Newbie
 
Registered: Sep 2003
Location: hong kong
Posts: 1

Rep: Reputation: 0
how the syntax of ifconfig can show the result like yours?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Monitor directory size in real-time billygoat32 Linux - Software 2 10-28-2005 09:21 AM
Graphical real-time bandwidth monitor ??? khermans Linux - Software 5 05-10-2004 09:54 PM
Nic card status is down, cannot up it onlylinux Linux - Networking 6 03-11-2004 09:18 PM
Real NIC isn't detected pPcG5 Linux - Networking 0 09-08-2003 09:23 AM
Redhat 8 and eth0 (NIC) status nathanv117 Linux - Newbie 8 01-02-2003 08:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:46 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration