1826783 Members
1432 Online
109702 Solutions
New Discussion

Re: Glance

 
SOLVED
Go to solution
Rona Fan
New Member

Glance

I need help in interpreting the data collected by glance command.

1. How to take a snapshop of the data and save it to a temp file?
2. How to interpret the data column by column?

Thank you in advance.

Rona
4 REPLIES 4
James R. Ferguson
Acclaimed Contributor

Re: Glance

Hi:

This is best done with the Measureware component that is licensed with Glance. Glance documentation can be found in /opt/perf/paperdocs/gp/C/ Measureware documentation is in /opt/perf/paperdocs/mwa/

See also:

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

...JRF...
Rita C Workman
Honored Contributor

Re: Glance

If your looking for quick results and save to a temp file than I recommend using the sar commands.
sar -u for CPU
sar -b for buffer
sar -c for System calls

Example: sar -u 10 10 > sar_u.temp would take a 10 snapshots every 10 seconds. Then you could check the results and see how your system is performing. Too much to write here for explanation on each option or whatever...check out man page on sar for more details.

But to use GLANCE, you would need to set up performance parameters file 'parm file' and then start up MWA,etc......then you could (if you like this method) take these files and ship to an excel spreadsheet and create some pretty fancy charts and diagrams to impress mgmt. But this takes alot more knowledge and work.....


Alan Riggs
Honored Contributor

Re: Glance

With measurewear, it is fairly easy to use the extract command to generate ascii reports for any metrics you are interested in. Automating the process is not difficult, but there is also a "guided" mode to help you become familiar with the command.

Despite this, I still tend to rely on sar reports for quick views into system behavior over time. Sar histories are easy to access and parse.
Jim Welch
Respected Contributor
Solution

Re: Glance

I would say the answer is "it depends". GlancePlus has many more metrics than sar, top, or MeasureWare. If the numbers you are interested in are also MeasureWare metrics, you can pull the data from MeasureWare(mwa) and import them into a spreadsheet, or you can use PerfView(pv) to connect to the mwa system and draw graphs. If you only have GlancePlus(glance), then you can:
1. print the current screen to a file as ascii text using the key sequence (p,s,f,) (print, single, file, filename).
2. run glance in adviser mode and ouput only the metrics you want to stdout and redirect stdout to a file.

(see the glance man page for command line options)

To see the defination of a metric on the screen, you can use the built in help (h key, then select 'Current Screen Metrics', and select the label to see the formal metric name and defination. You can also look up the available metrics in the metrics dictionary (/opt/perf/paperdocs/gp/C/metrics.pdf) as well as a concepts guide and an adviser reference guide (adviser.pdf). Also be aware
that some metrics have been added/dropped/changed over time and various platforms. The current version of GlancePlus on HP-UX is C.02.60 (as of 10/24/2000).
Any sufficiently advanced technology is indistinguishable from Magic - Arthur C. Clarke