1833415 Members
3273 Online
110052 Solutions
New Discussion

Glance in shell

 
Praveen Bezawada
Respected Contributor

Glance in shell

Hi
Can glance be used to collect system data in a shell script.

Br
praveen
4 REPLIES 4
Mladen Despic
Honored Contributor

Re: Glance in shell

Yes, you can run glance in adviser mode as follows:

glance -adviser_only -syntax mysyntax -j60 > glance.out

You can replace mysyntax with any other customized syntax file (see directory /opt/perf/examples/adviser for some examples), or with the default syntax file:
/var/opt/perf/adviser.syntax

This command line will run indefinitely, so if you want it to terminate after so many iterations, try using -iterations option (see man pages for glance)
Praveen Bezawada
Respected Contributor

Re: Glance in shell

Hi can I find documentation about the adviser scripts on HP site
Juan González
Trusted Contributor

Re: Glance in shell

Hi,
you can find a manual about adviser syntax in
your server:
/opt/perf/paperdocs/gp/C/adviser.pdf

and all glance metrics in
/opt/perf/paperdocs/gp/C/metrics.pdf

Best regards
JGM
Mladen Despic
Honored Contributor

Re: Glance in shell

Praveen,

Here is the pdf file from HP site:

http://ovweb.external.hp.com/ovnsmdps/pdf/gp_arg_07.00.pdf