Operating System - HP-UX
1833187 Members
2616 Online
110051 Solutions
New Discussion

Re: gathering system performance info (glance, sar, netstat, SNMP)

 
Jim Hendrick
Advisor

gathering system performance info (glance, sar, netstat, SNMP)

I am trying to log overall performance data for HP-UX 11 systems including CPU, memory, disk and network utilization.

sar - I have used this before (I like the way it logs and the shell scripts to rotate files, etc.) but it doesn't do network traffic.

netstat - reports "packets" not "bytes" and although I could use it for an upper bound of traffic, I wanted something more accurate.

lanadmin - can give me ifInOctets and ifOutOctets in interactive mode, but not from the command line.

SNMP - I can query the public data, but ran into a problem with getting the input and output bytes from the snmpd (I don't see them listed using snmpwalk).

glance - I tried to use the command line interface to log all data to a file (on 6 second intervals) and then read from this file. But I cannot see where to specify an "input" file for glance to review the data after collection.


Can someone point me to a decent resource (on-line if possible)? What is the recommended "way to do it"?

Thanks!

Jim H.
4 REPLIES 4
Patrick Wallek
Honored Contributor

Re: gathering system performance info (glance, sar, netstat, SNMP)

HP does have a product that will gather all the information you need. It is called MeasureWare. MeasureWare collects the data. There is an additional product called PerfView that will analyze and graph the data that MeasureWare collects.

Here are some links to the products:

http://www.software.hp.com/products/performance/perfview.html

Apparently the products are now called VantagePoint Performance. I think this is what you want though.
http://192.151.52.161/products/vpperformance/index.asp
James R. Ferguson
Acclaimed Contributor

Re: gathering system performance info (glance, sar, netstat, SNMP)

Hi Jim:

Take a look at MeasureWare Agent (now VantagePoint Performance Agent). It's a "companion" to Glance.

http://ovweb.external.hp.com/lpe/doc_serv/

...JRF...
John Bolene
Honored Contributor

Re: gathering system performance info (glance, sar, netstat, SNMP)

Glance is a realtime look at what is happening on your system, perfview is an after the fact look over a longer period, like a week's worth of Measureware data.
It is always a good day when you are launching rockets! http://tripolioklahoma.org, Mostly Missiles http://mostlymissiles.com
Mladen Despic
Honored Contributor

Re: gathering system performance info (glance, sar, netstat, SNMP)

Jim,

You can also run something like:

glance -adviser_only -syntax $mysyntax -j6 > /tmp/glanceout

where $mysyntax is a glance adviser syntax file.
You can create and customize $mysyntax so it gives
you what you need. You may find a few useful examples
under /opt/perf/examples/adviser. The full
documentation is under /opt/perf/paperdocs/gp/C.

Mladen