UNIX-WIZARDS Digest V10#078

NIH Amsterdam, wg5 SURF159%KUB.NL at cunyvm.cuny.edu
Sat Jul 7 01:57:18 AEST 1990


> From: Boyd Roberts <boyd at 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



More information about the Comp.unix.wizards mailing list