Re: New kevent types: NOTE_STARTEXEC and NOTE_STOPEXEC

2002-10-26 Thread Nate Lawson
On Thu, 24 Oct 2002, Maxim Sobolev wrote: > Please review the patch, which adds two new types of events - > NOTE_STARTEXEC and NOTE_STOPEXEC, that could be used to get > notification when the image starts or stops executing. For example, it > could be used to monitor that a daemon is up and running

Re: sfbuf problems

2002-10-26 Thread Mike Silbersack
On Thu, 24 Oct 2002, Ian Campbell wrote: > I tried a hack sendfile replacement with write() and lseek(), just > to see if that made a difference... but all it did was chew mbufs > instead of sf_bufs ... How can I tell if I'm just using all available > buffer space, or if it's just a leak I'm

size of a named pipe

2002-10-26 Thread Michael Smirnov
My scripts read data from a named pipe, created using "mkfifo". I'm trying to way a way to monitor how many bytes are currently written, but not read from it? Unfortunately size of that pipe is always 0. :-((( I need it to know if my script is fast enough, so the writer process isn't forced to wa

[About SA_SIGINFO] Getting signal sender's PID and RUID

2002-10-26 Thread Leslie Jackson
I tried to use sigaction(with SA_SIGINFO sa_flags sepecified) to obtain the catched signal's sending process ID and its real user ID. But all that i got are both zeros. Flatform: FreeBSD 4.6-Release on x86. --8<-- #include #

[no subject]

2002-10-26 Thread LexSys
Hello freebsd-hackers, -- Best regards, LexSys mailto:lexsys@;zgia.zp.ua To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message