The online community for software testing & quality assurance professionals
   
Active Topics Today's Topics
Sponsors:
Lost Password?

Home
BetaSoft
Jobs
Training
News
Links
Downloads

News Group:
software.testing


Testing
Automation
Performance
Engineering
Miscellaneous
Statistics
Poll
  QA Forums
  Performance & Load Testing
  How can i get the CPU occupation and Memory occupation rate for a period times.

Post New Topic  Post A Reply
profile | register | preferences | faq | search

UBBFriend: Email This Page to Someone! next newest topic | next oldest topic
Author Topic:   How can i get the CPU occupation and Memory occupation rate for a period times.
ice_water2002
Member

Posts: 10
Registered: May 2002

posted 10-16-2002 10:30 PM     Click Here to See the Profile for ice_water2002   Edit/Delete Message Copy This Message   Reply w/Quote Search for more posts by ice_water2002
I am now doing performance test of a application. And this application run only on one machine. I want to know the CPU occupation rate and Memory occupation rate during this application do a task. Have some tools to track this kind of data? So I can get this data to caculate the average value of the CPU occupation rate and Memory occupation rate during it do this kind of task.

Thanks
Contact: ice_water2001@sohu.com

------------------

IP Logged

bnayak
Member

Posts: 39
Registered: Oct 2002

posted 10-16-2002 11:14 PM     Click Here to See the Profile for bnayak   Edit/Delete Message Copy This Message   Reply w/Quote Search for more posts by bnayak Visit bnayak's Homepage!
Hi IceWater ,
You did not mention which OS you are running. Here are some solutions.

On Unix
*******
1. Run the OS provided utilities on the machine you want to monitor. The commands to look at are vmstat,sar , mpstat .

2. collect the data for the specific time period.

3.Then parse the data , see the unix docs to see which column represnts what. Here is an example that valid for solaris.

example% vmstat 5
will give the following counters

procs memory page disk faults cpu

since you need only cpu and memory go for appropriate counters. For detail please have a look at http://docs.sun.com/db/doc/805-3173/6j31cpm8s?q=vmstat&a=view

4. Then load it to excell sheet or a database and get the average value.

Well there are a lot of tools developed on the above 4 steps. You can write your own little scripts to do that or get one from net. Have a look at http://www.sarcheck.com/scsol.htm , they have a free evaluation copy.

On windows :
************

It comes with its own little performance monitor tool .

Hope this helps

------------------
Biswajit
Senior Performance Engg
Oracle Corp
http://www.oracle.corp
http://bnayak.tripod.com/perf/

IP Logged

punekar
Advanced Guru

Posts: 588
Registered: Dec 2000

posted 10-17-2002 01:17 AM     Click Here to See the Profile for punekar   Edit/Delete Message Copy This Message   Reply w/Quote Search for more posts by punekar Visit punekar's Homepage!
Try the SE Toolkit on UNIX and Perfmon for Windows platforms.

------------------
-Suresh Nageswaran, CQA, CSTE
punekar@yahoo.com
Cognizant Technology Solutions,
Pune, India.

IP Logged

ice_water2002
Member

Posts: 10
Registered: May 2002

posted 10-17-2002 01:41 AM     Click Here to See the Profile for ice_water2002   Edit/Delete Message Copy This Message   Reply w/Quote Search for more posts by ice_water2002
Thanks
how can i get the SE Toolkit?

------------------

IP Logged

punekar
Advanced Guru

Posts: 588
Registered: Dec 2000

posted 10-17-2002 05:37 AM     Click Here to See the Profile for punekar   Edit/Delete Message Copy This Message   Reply w/Quote Search for more posts by punekar Visit punekar's Homepage!
Adrian Cochrofts SE Toolkit is available at http://www.setoolkit.com

You can your own scripts to monitor subsets of available system counters.

------------------
-Suresh Nageswaran, CQA, CSTE
punekar@yahoo.com
Cognizant Technology Solutions,
Pune, India.

IP Logged

All times are PT (US)

next newest topic | next oldest topic

Administrative Options: Close Topic | Archive/Move | Delete Topic | Top
Post New Topic  Post A Reply
Hop to:

Contact Us | BetaSoft Inc. | Privacy Statement

Copyright © 1997-2003 BetaSoft Inc.


Ultimate Bulletin Board 5.45c