1819713 Members
2893 Online
109605 Solutions
New Discussion юеВ

HP Glance & SAR

 
Eric Jacklin
Regular Advisor

HP Glance & SAR

Hi,

On my unix server both sar&hp glance is installed now i want to pull a performance report from SAR or Hp glance how can i do that ?
6 REPLIES 6
Wouter Jagers
Honored Contributor

Re: HP Glance & SAR

Hi,

Glance itself is a great tool for viewing 'live' performance data. When an acute performance problem presents itself, I usually fire up glance. I think it can be used for logging data over time, too, to some extent, but I'm unsure about that.

Sar is a nice tool for logging performance data over time. Hence, sar data could be used to craft a performance report. I said 'craft', because the data you'll have is just that: a bunch of data. Keep your favourite spreadsheet program nearby ;-)

The man pages of 'sar', 'sa1' and 'sa2' should get you rolling on that.

(3rd party tools such as 'sarcheck' could aid you in interpreting the collected data, should you have a little more cash to spare)

Baselining your systems would be an important first step: find out what the 'normal' behavious is for your systems, so that you can spot abnormal situations (more) easily later on.

Cheers,
Wout
an engineer's aim in a discussion is not to persuade, but to clarify.
Steven E. Protter
Exalted Contributor

Re: HP Glance & SAR

Shalom,

I use these scripts for sar.

http://www.hpux.ws/system.perf.sh

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Bill Hassell
Honored Contributor

Re: HP Glance & SAR

sar is quite painful to produce a useful report. The stats are rather simplistic and require a fair amount of explanation to be of much use. If you have Glance however, you most likely have MeasureWare (mwa) and it has been keeping about 2 weeks of logs since you installed the Glance package. There are hundreds of measurements available, all ready to be extracted into spreadsheet format. The man page for extract will help. You should also look at the documentation in /opt/perf/paperdocs.


Bill Hassell, sysadmin
Yogeeraj_1
Honored Contributor

Re: HP Glance & SAR

hi,

Glance is a much easier tool to use for the newbies.

the top level screens can show you more information about the following:
CPU By Processor
CPU Report
Disk Report
Process List
IO By File System
Network By Interface
Memory Report
NFS By System
System Tables Report
IO By Disk
IO By Logical Volume
Swap Space
Application List
Global Waits
DCE Global Activity
Process Threads
Alarm History
Thread Resource
Thread Wait
DCE Process List
NFS Global Activity
PRM Group List
Transaction Tracker
Global System Calls
Global Threads

If you have measureware, you can also generate historical data/graph for your system.

good luck!
kind regards
yogeeraj
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)
Court Campbell
Honored Contributor

Re: HP Glance & SAR

for sar just run sar alone or with the different switches. Use the -o option to output to a file. instead of glance you can use the extract utility to get performance data. You really need to have the midaemon running in the background to get data over time. Here is a link that has an example of using the extract utility:

http://www.nws.noaa.gov/mdl/awips/aifmdocs/APPENDIX06.htm

The info is about halfway down the page.
"The difference between me and you? I will read the man page." and "Respect the hat." and "You could just do a search on ITRC, you don't need to start a thread on a topic that's been answered 100 times already." Oh, and "What. no points???"
Eric Jacklin
Regular Advisor

Re: HP Glance & SAR

Dear all,

Thanks for the information.

But can you please let me know throug which command how can i pull the performance ?

After pulling out the file from measureware in which software i can able to see the out put/Graph etc.... ?

From where i will get the software ?