Solved

How to check the capacity of network interface in RHEL4?

Posted on 2009-04-06
10
892 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
VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

 
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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
UBUNTU 12.04 LTS don't finish booting 5 73
Linux Login using LDAP or Active Directory 4 142
Ubuntu vs. Debian 4 118
how to include conditional log rotate in liunx. 17 40
Creating a Samba server for a small office. Ubuntu Linux and Samba can breathe new life into a retired PC and save an office money on new hardware/software. Our example server will have two hard disks, one exclusively for storing shared data. …
The purpose of this article is to show how we can create Linux Mint virtual machine using Oracle Virtual Box. To install Linux Mint we have to download the ISO file from its website i.e. http://www.linuxmint.com. Once you open the link you will see …
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

828 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