Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!ll-xn!ames!schoch From: schoch@ames.arpa (Steve Schoch) Newsgroups: comp.unix.questions Subject: Re: Fork and Join, Pipe in C Message-ID: <1882@ames.arpa> Date: Tue, 23-Jun-87 20:25:43 EDT Article-I.D.: ames.1882 Posted: Tue Jun 23 20:25:43 1987 Date-Received: Thu, 25-Jun-87 04:17:25 EDT References: <7737@brl-adm.ARPA> <1186@ius2.cs.cmu.edu> <8174@utzoo.UUCP> <3714@spool.WISC.EDU> <21731@sun.uucp> Reply-To: schoch@ames.UUCP (Steve Schoch) Organization: NASA Ames Research Center, Moffett Field, Calif. Lines: 12 In article <21731@sun.uucp> guy%gorodish@Sun.COM (Guy Harris) writes: > There is very little you can do with the (temporarily) shared >memory you get from "vfork", and in most, if not all, cases, you can >do the same thing just as well without it. Try the built-in command "hashstat" in csh. It's to be used mostly for debugging, I assume, as it tells you how well the exec hash table is working. The way it counts a "miss" is by incrementing a variable everytime a exec fails. It has to do this in the child, and thus uses the vfork "shared memory". Steve