in reply to Re: Reopen file when contents changed?
in thread Reopen file when contents changed?

That code worked for me and generated output has follows:
cpu 757611 0 128970 6183389 cpu 757611 0 128970 6183507 cpu 757611 0 128970 6183608 cpu 757612 0 128970 6183708 cpu 757612 0 128970 6183809