simple (dumb) script to track sizes of IOs
Zhang, Yanmin
yanmin.zhang@intel.com
Sun Oct 9 00:33:00 GMT 2005
>>-----Original Message-----
>>From: systemtap-owner@sources.redhat.com
>>[mailto:systemtap-owner@sources.redhat.com] On Behalf Of Frank Ch. Eigler
>>Sent: 2005年10月9日 0:45
>>To: systemtap@sources.redhat.com
>>Subject: RE: simple (dumb) script to track sizes of IOs
>>
>>Hi -
>>
>>anmin.zhang@intel.com wrote:
>>
>>> Could a timer be added and the report be printed periodically? Users
>>> are used to see the data difference in timely style? The timer
>>> interval can be set as a parameter.
>>
>>Certainly. Add the single line
>>
>>probe timer.jiffies(1000 /* tune as required */) { report() }
Thanks. I know how to add timer to a stap script. I just want to suggest the developer to change the script of tracking sizes of IO to report statistics periodically instead of in the end.
More information about the Systemtap
mailing list