1837787 Members
3478 Online
110120 Solutions
New Discussion

network performance

 
SOLVED
Go to solution
George Livieratos
Occasional Advisor

network performance

Hi All,

I would like to get some network statistics
for a certain time interval. To my undestanding, netstat shows number of xxx
since the day the machine came up.

Is there any document that can help me to assess the number of drops, keepalive, etc?

Also, what is the command for netstat -m for
HP-UX. This means memory allocated for net activities in DEC?

Cheers,

George
15 REPLIES 15
Craig Rants
Honored Contributor

Re: network performance

lanadmin will give you some network stats since the last time the counters were reset. Also glance will give you real time stats if you care about that.

GL,
C
"In theory, there is no difference between theory and practice. But, in practice, there is. " Jan L.A. van de Snepscheut
Uday_S_Ankolekar
Honored Contributor

Re: network performance

Hi,

There is no netstat -m option in HP-UX.
If you have glance then use glance for realtime statastics. glace -l would show you the lan stats.

-USA..
Good Luck..
Sanjay_6
Honored Contributor

Re: network performance

George Livieratos
Occasional Advisor

Re: network performance

I need to know when my machine drops requests or gives keepalive time outs, etc.

I cannot see them with glance or lanscan,
can I?

For example, I have got a machine that netstat -s -p tcp shows that it has had 11316 connections dropped due to no listener since the time it was booted. But when was it? What time? And, above all, is it serious or not? I cannot really assess it. Does anyone know any good document about these figures?

Thank you both for your immediate response.
Bill Hassell
Honored Contributor

Re: network performance

You can see the basic card stats with landiag (lanadmin on 10.20) and it has the ability to reset the counter on a per card basis:

echo "lan\nppa 0\ndisp\nq" | landiag

The ppa value (or nmid on 10.20) is the LAN number shown in lanscan by CrdID#


Bill Hassell, sysadmin
George Livieratos
Occasional Advisor

Re: network performance

Hi Sanjay,

I am new in the forum.
I looks like I cannot connect to this link. I have to switch to the european site. But then
what is the docid?

Thanks for the links,

George
George Livieratos
Occasional Advisor

Re: network performance

Hi,

It did not clear the counters that I want.
At least not the ones that netstat "see".

Cheers,

George
Wodisch
Honored Contributor
Solution

Re: network performance

Hello George,

this is just what SNMP is good for!
And you already have the SNMP agent on HP-UX.
You would need an SNMP manager, though - HP OpenView Network Node Manager comes to mind, of course ;-)
It could even alert you when the number of drops (or other problems) increases...
You could try some of the OpenSource products, like MRTG or OpenNMS, but that will be even more work for you before you have something working.

Just my ???0.02,
Wodisch
Darrell Allen
Honored Contributor

Re: network performance

Hi George,

If you are logged into the European site, simply change references to us-support in the URL to europe-support. Since I don't believe there is a europe-support3 just leave off the number.

Darrell
"What, Me Worry?" - Alfred E. Neuman (Mad Magazine)
Sridhar Bhaskarla
Honored Contributor

Re: network performance

Hi George,

Woodish had it right on. I can't think of any better tool than snmp. It's not difficult either to get tools like "snmpget" or "snmpwalk". They even come with perl and you may find good sources out there on the internet. You can get snmpget from here.

http://hpux.ee.ualberta.ca/hppd/hpux/Networking/Admin/tricklet-1.4/

Look at RFC1213-MIB for what you can pull out of the system.

You can use mrtg to graph the results of snmpget if you want. Below is the link to mrtg

http://people.ee.ethz.ch/~oetiker/webtools/mrtg/

You have to do a little bit of reading and work. But it's fun.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Sanjay_6
Honored Contributor

Re: network performance

Hi George,

If you are accessing the ITRC through the europe ITRC then substitute "europe-suppor" in place of "us-support" in the link.

The Doc id's are

CSY9310150018
23222dhtm

Hope this helps.

Regds
George Livieratos
Occasional Advisor

Re: network performance

Hi,

Do I need to be authorized to see these
docs? I searched for these numbers but
nothing was found.

Cheers,

George
Sanjay_6
Honored Contributor

Re: network performance

Hi George,

you should have a hp support agreement or a hardware warranty agreement linked to your id to view the documents mentioned above.

Hope this helps.

Regds
George Livieratos
Occasional Advisor

Re: network performance

For the moment, I do not have this agreement.

Anyway, thanks for the response.
Sanjay_6
Honored Contributor

Re: network performance

Hi Geroge,

Came across this link. Thought it might be useful to you since you were not able to access my old links. this link does not need any support agreement.

http://docs.hp.com/hpux/onlinedocs/os/11.0/tuningwp.html

Hope this helps.

Regds