Operating System - HP-UX
1823986 Members
4024 Online
109667 Solutions
New Discussion юеВ

Performance monitoring tools

 
Anand_30
Regular Advisor

Performance monitoring tools

Hi,

I am going on execute a load test on my HPUX 10.20 server. I need to monitor the performance of the application. I have to find out the CPU utilization, disk utilization, and also monitor the network. Does anyone have any scripts to do it. Any help will be highly appreciated.

Thanks,
Andy
8 REPLIES 8
Sridhar Bhaskarla
Honored Contributor

Re: Performance monitoring tools

Hi Andy,

If you don't have measureware/glance, then enable sar in cron. Look at the man page of 'sa1' on how to enable it. You will need to have some space in /var/adm/sa filesystem. This should cover CPU, disk and Kernel table utilizations. For memory, keep capturing the outputs of 'swapinfo -tam' and 'vmstat 10 6'. Network is slightly typical. Find out all the network interfaces and the corresponding PPAs and capture the outputs of 'lanadmin -g mibstats '.

Try doing it during the load tests. Once the results are captured, then you will need to compare them by either importing them to excel or through scripts. It's going to be bit tough to compare.

If you are willing to spend some money, then purchase perfview. It comes with measureware and you can see the utilizations in a graphical window. Measureware will collect the stats in the background. You get all useful metrics. It is available as an evaluation copy in one of the Application CDs. Try it and see if is going to be helpful.

One more product is sarcheck. Visit www.sarcheck.com and see if you can get an evaluation copy.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Bill Hassell
Honored Contributor

Re: Performance monitoring tools

The classic Unix tools (sar, vmstat, swapinfo, lanadmin, etc) are pretty archaic and certainly not suited to monitoring a single application. If you stop everything else from running, these tools may be of some help but you'll save hours of time decoding and trying to guess what is happening by getting a copy of GlancePlus. For drawing graphs you can get Perfview but I find the extract command very simple to use to grab data from the Glance/Measureware logs and feed into Excel where graphs are just one button (really! open your favorite Excel chart and just press f11--you'll be truly amazed)


Bill Hassell, sysadmin
Tim D Fulford
Honored Contributor

Re: Performance monitoring tools

Cheat, use the demo version of measureware .. oops PerformanceAgent as it is know known .. I think you can get 60 days free trial from the application CD.

sar, vmstat etc are nice, MeausreWare is FAR more flexible. As an example you can easily split the usage of the box up into groups using the parm file..

aplication = Database
file = ora*
application = App1
file = prog1,prog2
user = joe,fred,billy
application = stats
file = statsd*,scopeus,ttd,midaemon,sar,vmstat,glance,top,iostat

The above will log ALL cpu/IO/memory/etc used by programs called ora* to the Database group. then any programs running called prog1 or prog2, OR programs run by joe, fred or billy are put into App1 group. Lastly a groups that catches stats programs...

You probably get the idea by now..

Regards

Tim
-
Jason Dinsdale
Frequent Advisor

Re: Performance monitoring tools

Bill,

Can you elaborate on the extract function you mentioned? I have Glance but I cant find anything on an 'extract' command...

Thanks,

Jason
If a man talks in a forest and there is no woman to hear, is he still wrong?

Re: Performance monitoring tools

DO u have glanceplus installed.That is good performance monitoring tool.
Even you can use sar and top for system resource utilization monitoring

regards
SK
Your imagination is the preview of your life's coming attractions
Muthukumar_5
Honored Contributor

Re: Performance monitoring tools

We can use top command for specific application with the ps command as,


ps -efx | grep -v grep | grep application or pid

To watch it more closely then go to glance tool. you can get very informations related to it.



Easy to suggest when don't know about the problem!
R. Sri Ram Kishore_1
Respected Contributor
R. Sri Ram Kishore_1
Respected Contributor

Re: Performance monitoring tools

Hi again,

In this thread (http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=575332), SEP has attached a nice data collection script. You might want to take a look at it.

HTH.

Regards,
Sri Ram

P.S: Please do not forget to assign points!
"What goes up must come down. Ask any system administrator."