Solved

How to check the capacity of network interface in RHEL4?

Posted on 2009-04-06
10
890 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
ID: 24084654
0
 
LVL 10

Expert Comment

by:Chris_Gralike
ID: 24085262
cat /proc/net/netstat
0
 
LVL 29

Expert Comment

by:fosiul01
ID: 24085350
@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
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 
LVL 10

Expert Comment

by:Chris_Gralike
ID: 24085378
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
ID: 24085402
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
 
LVL 10

Expert Comment

by:Chris_Gralike
ID: 24085461
@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
ID: 24085471
Nmon = Bmon (my bad ;) )
0
 
LVL 10

Expert Comment

by:Chris_Gralike
ID: 24085557
@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
ID: 24085785
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
ID: 31567344
Thanks :-)
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This document is written for Red Hat Enterprise Linux AS release 4 and ORACLE 10g.  Earlier releases can be installed using this document as well however there are some additional steps for packages to be installed see Metalink. Disclaimer: I hav…
In my business, I use the LTS (Long Term Support) versions of Linux. My workstations do real work, and so I rarely have the patience to deal with silly problems caused by an upgraded kernel that had experimental software on it to begin with from a r…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…

813 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

17 Experts available now in Live!

Get 1:1 Help Now