From: Rick K. <rk...@nc...> - 2008-01-26 16:26:53
|
Sanjay, This type of periodic sampling is not supported directly by the psrun command. It can be done via the PerfSuite API, however output format is up to your own code. There is an example contained in the PerfSuite distribution called "sampler" that shows how to set up interval timers that trigger a read of the current performance data values. You can find the example in the directory $PREFIX/share/perfsuite/examples/sampler (where $PREFIX is the value supplied to the configure option --prefix, or /usr/local if nothing was supplied). Rick On Sat, 26 Jan 2008, Sanjay H A wrote: > Hello Sir > Thanx for informative reply. > After commenting the events in the XML file > that are not supported on my system, psrun worked. > > I want to measure > performance events periodicaly for an long running application. Means If > I have application runs for 1 hour, I want to measure these performace > parameters for every 5 minutes.Is there any options in perfsuite? What I > noticed is, if I run application with psrun, it creates xml file when > the application finishes. > > Thanx again > > Regards > Sanjay > > > > |