Thanks, Berry and Bruce! The FINIS * * A with the delay looks like the simplest way to get the file closed so I can read it from another user... I'm essentially filtering for the LNXAPPL records for the Linux monitoring records. I'm particularly interested in the mon_fsstatd records, but the others may be useful as well..
Scott Rohling On Fri, Oct 22, 2010 at 6:17 AM, Bruce Hayden <[email protected]> wrote: > You can use 'diskslow' to write the records, but that might not be a > good idea for all of the monitor data unless you are only writing the > records you want and filtering out the rest. The other thing you > should do is set up a delay stage and issue a FINIS every so often (10 > secs, 30 secs, whatever you need.) Such as: > '? literal +30', > '| dup *', > '| delay', > '| spec /FINIS * * A/ 1', > '| command' > > On Thu, Oct 21, 2010 at 7:45 PM, Scott Rohling <[email protected]> > wrote: > > One thing - I don't seem to actually see the output file on disk until I > > stop the PIPE.. is there a way to run pipe starmon and have it output > > records to disk as they are received? When I LINK to the disk from > > another userid - I don't see a file at all until I 'hx' out of the pipe. > > > > Scott Rohling > > > > > -- > Bruce Hayden > z/VM and Linux on System z ATS > IBM, Endicott, NY > > ---------------------------------------------------------------------- > For LINUX-390 subscribe / signoff / archive access instructions, > send email to [email protected] with the message: INFO LINUX-390 or > visit > http://www.marist.edu/htbin/wlvindex?LINUX-390 > ---------------------------------------------------------------------- > For more information on Linux on System z, visit > http://wiki.linuxvm.org/ > ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 ---------------------------------------------------------------------- For more information on Linux on System z, visit http://wiki.linuxvm.org/
