Operating System - HP-UX
1752618 Members
4446 Online
108788 Solutions
New Discussion

Re: Monitoring network interfaces....

 
kota341
Occasional Contributor

Monitoring network interfaces....

Hello,

 

Can you please clarify me the below question...

 

We need to monitor the network interface stats in our hPUX platform.

 

When i type the netstst -i the o/p is

 

Name       Mtu   Network         Address         Ipkts                   Ierrs         Opkts              Oerrs Coll
lo0       ****          loopback       localhost       13510315          0              13510359      0         0

lan1      ****         XX                  XX                    1723841198     0              9444629611  0       0
                               
I can't pass the interval here, even if do it by using the netstat -i 1 the o/p is and data is in the diff format.

 

     (lo0)-> input              output     (Total)-> input              output
           packets             packets             packets             packets
           13514081            13514125          1997770221          9715840362
                 26                  26                 263                 231
                 22                  22                 135                 127
                 25                  25                 137                 129

 

 

Is there any way that we can pass the  count and interval paramter in netstat. (like in linux  sar -n EDEV 15 1)

 

 

Thanks,

N

3 REPLIES 3
Chhaya_Z
Valued Contributor

Re: Monitoring network interfaces....

Hi,

Please try

netstat interval

 

-->"When i type the netstst -i the o/p is"  
This displays network interfaces and their statistics.
Regards,
Chhaya

I am an HP employee.
Was this post useful? - You may click the KUDOS! star to say thank you.
kota341
Occasional Contributor

Re: Monitoring network interfaces....

Can you pleas let meknow the usage of netstat interval, it's not listed in man also.

 

I am getting below error msgs.

 

# netstat interval 15
Reading from a core file is no longer supported.
#netstat -i interval 14
Reading from a core file is no longer supported.
#netstat interval
Reading from a core file is no longer supported.

 

Thanks,

 

Chhaya_Z
Valued Contributor

Re: Monitoring network interfaces....

Hi, Please check the below document for the usage of interval.

 

http://h20000.www2.hp.com/bc/docs/support/SupportManual/c02263324/c02263324.pdf

Regards,
Chhaya

I am an HP employee.
Was this post useful? - You may click the KUDOS! star to say thank you.