[H-GEN] Solaris Question (Clarification)

Ewan Edwards Ewan.Edwards at mincom.com
Sun Jul 14 18:52:42 EDT 2002


[ Humbug *General* list - semi-serious discussions about Humbug and     ]
[ Unix-related topics. Posts from non-subscribed addresses will vanish. ]

On Friday 12 July 2002 21:56, Scott Pullen wrote:
> [ Humbug *General* list - semi-serious discussions about Humbug and     ]
> [ Unix-related topics. Posts from non-subscribed addresses will vanish. ]
>
> James thanks for that.  I have already tried looking at the netstat man
> pages but it only lists the number of packets and not how "busy" this
> keeps the nics.  The server is a proxy and I want to monitor the traffic
> back into the network and out over the 'net'.

What about writing a script that will give you snapshots of total NIC traffic 
at some specific interval (say 1 sec.) and then use the difference between 
the snapshots to calculate an 'instantaneous' value?  The 'instantaneous' 
value could then be compared with the NIC rated maximum.

This may be a bit crude, but it might be close enough to what you're looking 
for - assuming I've understood your original question correctly.   :-)

>
>
> Everyone keeps telling me that you can't find out how busy the nic is
> because the kernel just routes packets to the nic for transmission and
> is not interested at what speed it is running.  Fair enough, is there a
> tool that will tell me how long the wait queue is for transmission or
> the average service time for a packet? ( similiar to the iostat output
> for disks )  That will more than do to tell me how 'congested' the links
> are.
>
> Do I have to resort to something as crude as a ping response time (which
> has too many variables in it) to at least get some idea.  Or is the only
> way to set up ntp on either end and use those statics (still the
> variables issue)?  Any suggestions (as long as they are constructive
>
> :~)3  ) would be welcome.  Can someone tell me if the kernel even keeps
>
> these types of stats?
>
> Cheers,
>
> Scott.
>
> >netstat -I ge0 1
>
> --
> * This is list (humbug) general handled by majordomo at lists.humbug.org.au .
> * Postings to this list are only accepted from subscribed addresses of
> * lists 'general' or 'general-post'.  See http://www.humbug.org.au/


-- 
This transmission is for the intended addressee only and is confidential information.  If you have received this transmission in error, please delete it and notify the sender.  The contents of this e-mail are the opinion of the writer only and are not endorsed by the Mincom Group of companies unless expressly stated otherwise.


--
* This is list (humbug) general handled by majordomo at lists.humbug.org.au .
* Postings to this list are only accepted from subscribed addresses of
* lists 'general' or 'general-post'.  See http://www.humbug.org.au/



More information about the General mailing list