Solved

How to check the capacity of network interface in RHEL4?

Posted on 2009-04-06
10
886 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
 
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
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
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.
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…

912 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

24 Experts available now in Live!

Get 1:1 Help Now