SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 5 of 5
  1. #1
    Junior Member
    Join Date
    May 2002
    Posts
    10
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    How can i get the CPU occupation and Memory occupation rate for a period times.

    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

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

  2. #2
    Member
    Join Date
    Oct 2002
    Posts
    43
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: How can i get the CPU occupation and Memory occupation rate for a period times.

    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/...=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/
    Biswajit
    Senior Performance Engg
    Oracle Corp
    http://www.oracle.corp
    http://bnayak.tripod.com/perf/

  3. #3
    Senior Member
    Join Date
    Dec 2000
    Location
    Pune, Maharashtra, India
    Posts
    1,037
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: How can i get the CPU occupation and Memory occupation rate for a period times.

    Try the SE Toolkit on UNIX and Perfmon for Windows platforms.

    ------------------
    -Suresh Nageswaran, CQA, CSTE
    punekar@yahoo.com
    Cognizant Technology Solutions,
    Pune, India.
    Suresh Nageswaran, CQA, CSTE
    Lead Consultant
    Kanbay Inc.
    Pune, India.
    sureshnageswaran@yahoo.com

  4. #4
    Junior Member
    Join Date
    May 2002
    Posts
    10
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: How can i get the CPU occupation and Memory occupation rate for a period times.

    Thanks
    how can i get the SE Toolkit?



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

  5. #5
    Senior Member
    Join Date
    Dec 2000
    Location
    Pune, Maharashtra, India
    Posts
    1,037
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: How can i get the CPU occupation and Memory occupation rate for a period times.

    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.
    Suresh Nageswaran, CQA, CSTE
    Lead Consultant
    Kanbay Inc.
    Pune, India.
    sureshnageswaran@yahoo.com

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Search Engine Optimisation provided by DragonByte SEO v2.0.36 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 10.71%
vBulletin Optimisation provided by vB Optimise v2.6.4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.2.8 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominate (Lite) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 04:24 PM.

Copyright BetaSoft Inc.