posted 10-16-2002 11:14 PM
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/