[comp.unix.wizards] UNIX-WIZARDS Digest V10#078

SURF159%KUB.NL@cunyvm.cuny.edu (NIH Amsterdam, wg5) (07/06/90)

> From: Boyd Roberts <boyd@necisa.ho.necisa.oz>
>
> 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.
>
It is possible to define your own name for the program which will be
displayed in the ps -f listing. You must use the execl(2) system call in
which you can specify the path to the program (execl arg 1) and the arguments
for the program starting from arg0(that is the program name)

marcel