Index: sys/kern/sys_pipe.c =================================================================== --- sys/kern/sys_pipe.c +++ sys/kern/sys_pipe.c @@ -696,6 +696,7 @@ int nread = 0; int size; + td->td_ru.ru_msgrcv++; rpipe = fp->f_data; PIPE_LOCK(rpipe); ++rpipe->pipe_busy; @@ -1063,6 +1064,7 @@ ssize_t orig_resid; int desiredsize, error; + td->td_ru.ru_msgsnd++; rpipe = fp->f_data; wpipe = PIPE_PEER(rpipe); PIPE_LOCK(rpipe);