From owner-freebsd-hackers Sat Oct 26 9:19:18 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B6C6D37B401 for ; Sat, 26 Oct 2002 09:19:17 -0700 (PDT) Received: from mh.vstu.edu.ru (mh.vstu.edu.ru [194.190.248.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6C7E443E6A for ; Sat, 26 Oct 2002 09:19:13 -0700 (PDT) (envelope-from smb@mh.vstu.edu.ru) Received: (from root@localhost) by mh.vstu.edu.ru (8.11.6/8.11.6) id g9QGIxa95449 for freebsd-hackers@freebsd.org.KAV; Sat, 26 Oct 2002 20:18:59 +0400 (MSD) Received: from ogre (ogre.vstu.edu.ru [194.190.248.68]) (authenticated LOGIN from kernel33@mh.vstu.edu.ru ) by mh.vstu.edu.ru (8.11.6/8.11.6) with ESMTP id g9QGIt495441 for ; Sat, 26 Oct 2002 20:18:59 +0400 (MSD) Message-ID: <00c401c27d0b$63c98a60$44f8bec2@vogtu.vstu.edu.ru> From: "Michael Smirnov" To: Subject: size of a named pipe Date: Sat, 26 Oct 2002 20:18:54 +0400 MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6700 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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 wait. FreeBSD 4.4-Release. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message