?
Solved

How to check the capacity of network interface in RHEL4?

Posted on 2009-04-06
10
Medium Priority
?
903 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 4
10 Comments
 
LVL 29

Accepted Solution

by:
fosiul01 earned 500 total points
ID: 24084654
0
 
LVL 11

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
Secure Your WordPress Site: 5 Essential Approaches

WordPress is the web's most popular CMS, but its dominance also makes it a target for attackers. Our eBook will show you how to:

Prevent costly exploits of core and plugin vulnerabilities
Repel automated attacks
Lock down your dashboard, secure your code, and protect your users

 
LVL 11

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 11

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 11

Expert Comment

by:Chris Gralike
ID: 24085471
Nmon = Bmon (my bad ;) )
0
 
LVL 11

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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

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…
You ever wonder how to backup Linux system files just like Windows System Restore?  Well you can use Timeshift in Linux to perform those similar action.  This tutorial will show you how to backup your system files and keep regular intervals. Note…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
Suggested Courses

752 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