1830882 Members
2349 Online
110017 Solutions
New Discussion

Need Scripting Help

 
SOLVED
Go to solution
Reuben Ernest
Occasional Advisor

Need Scripting Help

Hi,
Well, i just wanted to ask this forum if anyone can suggest a good performance reporting script for ver 11. If you can show me a site where i can get it, i would be greatful.
Ben
11 REPLIES 11
Steven Sim Kok Leong
Honored Contributor

Re: Need Scripting Help

Hi,

Perfview and measureware are some HP tools you can make use of.

For freeware, try MRTG which interfaces with snmp to query HP-UX MIB OID values (such as CPU load). Found at:

http://www.mrtg.org

Hope this helps. Regards.

Steven Sim Kok Leong
Michael Tully
Honored Contributor

Re: Need Scripting Help

Hi,

Using measureware (part of the glance product)
has it's own database collection which is quite
easy to extract information. There is a 60 day
trial version on the application CD set. You
could write some scripts to extract information
out of sar, but these tools do not really give
an accurate picture with todays different pieces
of hardware that is being used.

-Michael
Anyone for a Mutiny ?
Reuben Ernest
Occasional Advisor

Re: Need Scripting Help

Thanks....looks like there is lot of info i need to get before I can go in for it.
Thanks again
steven Burgess_2
Honored Contributor

Re: Need Scripting Help

You could also try

www.sarcheck.com

I found it really useful, it uses sar to collect data then creates a html report for you

You can get a free eval version (trial)

Regards

Steve
take your time and think things through
Reuben Ernest
Occasional Advisor

Re: Need Scripting Help

Thanks mike...but cannot affort to go in for a trial version....may be some of you can give me pointer on writing a decent scripts of my own
Ben
steven Burgess_2
Honored Contributor

Re: Need Scripting Help

hi

heres a script we use to collect data,

there are a couple of binaries that you require, look at it for ideas though

take your time and think things through
steven Burgess_2
Honored Contributor

Re: Need Scripting Help

sorry , don't think thats gonna help
take your time and think things through
steven Burgess_2
Honored Contributor
Solution

Re: Need Scripting Help

To check machine stats

/usr/sbin/sar -u -M > /logging/perf/`date +%b%Y`/cpu`date +%d` 2> /dev/null
/usr/sbin/sar -b > /logging/perf/`date +%b%Y`/buffer`date +%d` 2> /dev/null
/usr/sbin/sar -d > /logging/perf/`date +%b%Y`/disk`date +%d` 2> /dev/null


take your time and think things through
steven Burgess_2
Honored Contributor

Re: Need Scripting Help

There are also some examples in the
below directory

/opt/perf/examples/adviser

take your time and think things through
Reuben Ernest
Occasional Advisor

Re: Need Scripting Help

Steven....u really helped me out here....u deserve the max points mate :))