Solved

How to check the capacity of network interface in RHEL4?

Posted on 2009-04-06
10
883 Views
Last Modified: 2013-12-06
I need to check the network capacity of my host having RHEL4 OS, I want to check in which mode(half duplex, full duplex) and the capacity of the interface(100mb,1gb). Please let me know how can I do it? ifconfig -a doesn't give this information.
0
Comment
Question by:beer9
  • 5
  • 4
10 Comments
 
LVL 29

Accepted Solution

by:
fosiul01 earned 125 total points
Comment Utility
0
 
LVL 10

Expert Comment

by:Chris_Gralike
Comment Utility
cat /proc/net/netstat
0
 
LVL 29

Expert Comment

by:fosiul01
Comment Utility
@Chris_Gralike , Can you explain little bit how will you get ethernet informaiton ( dupliex/half dupliex or 100Mb or 1Gb) from
cat /proc/net/netstat command ??I always used mii-tool and ethtool, never used this command,

I just ran this command but gave some wired output, dont know how to get all those informaiton from that output (if you can provide some article about how to read output from that command that would be great)
0
 
LVL 10

Expert Comment

by:Chris_Gralike
Comment Utility
ps. Most of the network statistics are stored in the /proc/net/ directory. If you want a ready to go solution i would advice to have a look at bmon :)
0
 
LVL 29

Expert Comment

by:fosiul01
Comment Utility
Sorry didnot understand. all i just wanted a article about "how to read output from that command" thats all , so that i can learn from their.

 [ note : Here i am not telling that you gave a wrong answer or something like that, this command is new to me, so just want to learn more, i googled on that command but didnot give too much information ]

hope i explained well why i am asking for article .
0
Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
LVL 10

Expert Comment

by:Chris_Gralike
Comment Utility
@fosiul10

when speaking about 'network capacity' just a command like;
ip addr | grep eth1
Eth1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop qlen 1000

Where the last nuber is the linkspeed wont give manyone very much insight in the true available capacity that can be influenced by QoS and other IEEE standards. Capacity can be derived by finding the network utilization for wich you need the statistics as kept in the /proc/net directory.

Nmon wil give you the network utilization, but might req some istallation steps

rgrd,
0
 
LVL 10

Expert Comment

by:Chris_Gralike
Comment Utility
Nmon = Bmon (my bad ;) )
0
 
LVL 10

Expert Comment

by:Chris_Gralike
Comment Utility
@fosiul01
/etc/services -- The services translation file
/proc -- Mount point for the proc filesystem, which gives access to kernel status information via the following files.
/proc/net/dev -- device information
/proc/net/raw -- raw socket information
/proc/net/tcp -- TCP socket information
/proc/net/udp -- UDP socket information
/proc/net/igmp -- IGMP multicast information
/proc/net/unix -- Unix domain socket information
/proc/net/ipx -- IPX socket information
/proc/net/ax25 -- AX25 socket information
/proc/net/appletalk -- DDP (appletalk) socket information
/proc/net/nr -- NET/ROM socket information
/proc/net/route -- IP routing information
/proc/net/ax25_route -- AX25 routing information
/proc/net/ipx_route -- IPX routing information
/proc/net/nr_nodes -- NET/ROM nodelist
/proc/net/nr_neigh -- NET/ROM neighbours
/proc/net/ip_masquerade -- masqueraded connections
/proc/net/snmp -- statistics

How to read them? For that i fear you need basic understanding about networking and protocols. Its not something one single page will explain too you...

Rgrds

0
 
LVL 29

Expert Comment

by:fosiul01
Comment Utility
LOL!!
getting out of hand
I asked you a simple questions that all.


the question author asked, how to get ethernet tool information about ( is this hulf or full duplix , is this 10MB or 100MB card)

after reading all what you saiying, still i didnot understand how
the solution you gave , cat /proc/net/netstat will show the author , if the ethernet speed is duplex or half or is this 10Base T or 100 Base T  

[ it does not show anyway]

about all those service you defined!!! God

if you would of understand those services properly, then you would not use thirdparty tool to read about network information( such as NMON)!!!

Yes, i might dont have   idea about how to read those information that why i used mii-tool , ethtool to get the answer about ethernet card a

sorry i didnot mean to offend you, i was just wondering the solution you have cat /proc/net/netstat, it might be a new way to find out about those information, and i just asked you about that because i was confused about how to read those output .

bottom line is : if you submit a solution here in EE , please give proper documentation about that command, dont just expect that some one will understand what you have typed here, like as i said, i am not experts like you who can read all those services  from /proc/net,  . so if you said that cat /proc/net/netstat will show you all the output author wanted, give proper documentation about how to read output from that command

other wise its just useless to other who will read this question in future for solution

Sorry for arguing







0
 

Author Closing Comment

by:beer9
Comment Utility
Thanks :-)
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Suggested Solutions

After running Ubuntu some time, you will be asked to download updates for fixing bugs and security updates. All the packages you download replace the previous ones, except for the kernel, also called "linux-image". This is due to the fact that w…
1. Introduction As many people are interested in Linux but not as many are interested or knowledgeable (enough) to install Linux on their system, here is a safe way to try out Linux on your existing (Windows) system. The idea is that you insta…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now