Date: Fri, 9 Jun 2000 11:50:05 -0700 (PDT) From: Poul-Henning Kamp <phk@critter.freebsd.dk> To: freebsd-bugs@FreeBSD.org Subject: Re: bin/19145: ps not annotatable in 4.0 Message-ID: <200006091850.LAA50831@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/19145; it has been noted by GNATS.
From: Poul-Henning Kamp <phk@critter.freebsd.dk>
To: billh@europe.yahoo-inc.com
Cc: freebsd-gnats-submit@FreeBSD.ORG
Subject: Re: bin/19145: ps not annotatable in 4.0
Date: Fri, 09 Jun 2000 20:43:03 +0200
>then compile and run the following (call it argv0.c, "make argv0")
>
>int main(int argc, char *argv[])
>{
> argv[0] = "test";
> sleep(500);
> return(0);
>}
Use setproctitle()
--
Poul-Henning Kamp | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG | TCP/IP since RFC 956
FreeBSD coreteam member | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200006091850.LAA50831>
