Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!munnari.oz.au!metro!cluster!necisa!boyd From: boyd@necisa.ho.necisa.oz (Boyd Roberts) Newsgroups: comp.unix.wizards Subject: Re: changing cmd listing for ps -f Keywords: ps command fork Message-ID: <1793@necisa.ho.necisa.oz> Date: 4 Jul 90 00:08:57 GMT References: <8259@b11.ingr.com> <1990Jul3.093553.3085@ericsson.se> Distribution: comp Organization: NEC Information Systems Australia Pty. Ltd. Lines: 14 Nothing you do on System V will change the command name/argument list that ps prints. Both the command name and some of the `arguments' are stored in the U area and are not modifiable by any `reliable' method. Check out u.u_comm and u.u_psargs in /usr/include/sys/user.h. ps uses these U area values alone. No longer does it search the user process' stack. That was always `messy'. That's the story on V.2 and I guess it's the same on V.n for n > 2. Boyd Roberts boyd@necisa.ho.necisa.oz.au ``When the going gets wierd, the weird turn pro...''