Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83 (MC840302); site haring.UUCP Path: utzoo!watmath!clyde!cbosgd!ihnp4!zehntel!hplabs!hao!seismo!mcvax!turing!haring!jim From: jim@haring.UUCP Newsgroups: net.unix-wizards Subject: Re: Access to kmem - System namelist - 'ps' etc Message-ID: <372@haring.UUCP> Date: Wed, 5-Dec-84 01:07:33 EST Article-I.D.: haring.372 Posted: Wed Dec 5 01:07:33 1984 Date-Received: Thu, 6-Dec-84 06:28:20 EST References: <161@dido.UUCP> <129@heurikon.UUCP> <253@sara70.UUCP> Organization: CWI, Amsterdam Lines: 13 Apparently-To: rnews@turing.LOCAL >3. Ps would run a lot faster not having to pick its way through the > symbol table of /unix. A long time ago on V7 I changed 'ps' to only read the name list once on boot, then store the useful stuff in a file somewhere. It only then needs to check that the file exists and do a stat on /(vm)unix to tell whether it really needs to plow through the namelist once more. I'm sure a lot of others did the same; I notice the most recent version of the 4.2BSD 'ps' from Berkeley does it. Jim McKie Centrum voor Wiskunde en Informatica, Amsterdam mcvax!jim