command pipe concatenated messages

Al Tobey albert.tobey at priority-health.com
Tue Dec 30 15:40:24 CET 2003


On Tue, 2003-12-30 at 04:07, Jim Mozley wrote:
> > 
> > The only thing I can think of is manually flushing the filehandle. I
> > wouldn't expect that to have an effect since the code that Jim wrote
> > sets $| on the PIPE filehandle, or he used syswrite which should
> > bypass buffering, but if it works with a 2 second sleep, but not
> > without it, it sounds like something isn't getting flushed properly,
> > or maybe some kernel wierdness. The size of the write is far below the
> > block size on linux let alone solaris (4K right?)
> > 
> > I'll go into the corner and shut up now.
> 
> Please don't, all comments have been useful. I can now replicate the 
> problem which is great. I will now try Al's Nagios::Cmd module and see 
> if that sorts out the issue, although the test that comes with it for 
> checking this issue passes on Solaris.
Please send me anything you can so I can better replicate your problem
and add a test to Nagio::Cmd.





** ** **  PRIVILEGED AND CONFIDENTIAL  ** ** **
This email transmission contains privileged and confidential information 
intended only for the use of the individual or entity named above.  Any 
unauthorized review, use, disclosure or distribution is prohibited and 
may be a violation of law.  If you are not the intended recipient or a 
person responsible for delivering this message to an intended recipient, 
please delete the email and immediately notify the sender via the email 
return address or mailto:postmaster at priority-health.com.  Thank you.



-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click




More information about the Developers mailing list