Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!columbia!rutgers!sri-spam!ames!oliveb!sun!gorodish!guy From: guy%gorodish@Sun.COM (Guy Harris) Newsgroups: comp.unix.questions Subject: Re: Fork and Join, Pipe in C Message-ID: <21928@sun.uucp> Date: Tue, 23-Jun-87 23:29:11 EDT Article-I.D.: sun.21928 Posted: Tue Jun 23 23:29:11 1987 Date-Received: Thu, 25-Jun-87 06:35:20 EDT References: <7737@brl-adm.ARPA> <1186@ius2.cs.cmu.edu> <8174@utzoo.UUCP> <1882@ames.arpa> Sender: news@sun.uucp Lines: 11 > 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". It could also do this with a shared file; abusing "vfork"s shared memory may have been convenient, but it wasn't necessary. Guy Harris {ihnp4, decvax, seismo, decwrl, ...}!sun!guy guy@sun.com