Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How can I automate performance charts having mwa?

Status
Not open for further replies.

hugonovo

MIS
Jul 21, 2003
53
PT
Hello all.

I have Measureware running in a box connected with other ones. I have PerfView installed but I would like to automate the chart's creation for further reports.

Does anyone knows how to make it possible?

I heard about zamboni, but could not get any more info :(

Best Regards,
Hugo


Hugo Novo
Portugal
 
If you have PerfView (pv), here's a shell script that may help. It saves the GBL_CPU_TOTAL_UTIL for the given server as a worksheet that can be imported into Excel/Lotus, etc. You can create better charts with the spreadsheet.

Code:
node=$1
if [ "$node" = "" ]; then
  echo "You must include a server name on the command line."
  echo "(short node name only)"
  exit
fi

echo "Generating spreadsheet for ${node}..."
pv -batch -dest /home/esmadmin/${node}.wks -format wks -sum 5m \
-b 04/01/2005 -e 05/01/2005 -shift 07:00-22:00 -ex weekends \
-ds ${node} -met ${node}:SCOPE:GLOBAL:GLOBAL:GBL_CPU_TOTAL_UTIL -gn GBL_CPU_UTIL

The graph given for -gn must exist.

man pv for the parameters.

It has been a while since I wrote this, but it should get you started.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top