This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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() }

- FChE


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]