On 25 Aug 2003, Daniel Grimwood wrote:
> We also have a file that we print status information to, which we manually
> flush after each line so we can watch it with tail -f. It is annoying when
> this file gets written in blocks every couple of hours. If the system
> periodically flushes idle buffers that contain data, then we wouldn't have
> to do that. Doing this every 10 seconds or so shouldn't affect performance.
> I haven't seen such a system though. Alas we are stuck with manual
> flushing.
Hi Daniel!
On the systems I've run across, writes to unit 0 (stderr for almost all
fortran implementations) are automatically flushed on writes, or at the very
least flushed frequently enough that you might not notice unless you get
really picky. But you probably knew that already ;-)
Does anybody know what systems do *not* use 0 for stderr? And before anybody
says Crays, let me say up front that unit 0 does work, even though 102 was the
stderr unit in early versions of UNICOS.
>
> Regards,
> Daniel.
>
>
> ------------------------------------------------------------------------
> Dr. Daniel Grimwood Department of Chemistry
> Email : [log in to unmask] The University of Western Australia
> Phone : +61 8 93808563 35 Stirling Highway
> Fax : +61 8 93801005 Crawley WA 6009
Congratulations on finishing your degree.
Ted
--
Ted Stern Applications Group
Cray Inc. office: 206-701-2182
411 First Avenue South, Suite 600 cell: 206-383-1049
Seattle, WA 98104-2860 FAX: 206-701-2500
Frango ut patefaciam -- I break that I may reveal
(The Paleontological Society motto, equally apropos for debugging)
|