Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Jun 2000 08:50:02 -0700 (PDT)
From:      Ruslan Ermilov <ru@sunbay.com>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: bin/19145: ps not annotatable in 4.0
Message-ID:  <200006091550.IAA23844@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: Ruslan Ermilov <ru@sunbay.com>
To: billh@europe.yahoo-inc.com
Cc: bug-followup@FreeBSD.org
Subject: Re: bin/19145: ps not annotatable in 4.0
Date: Fri, 9 Jun 2000 18:41:33 +0300

 On Fri, Jun 09, 2000 at 08:04:19AM -0700, billh@europe.yahoo-inc.com wrote:
 > 
 > create this C program, call it getargv.c, and compile with
 > cc -O -pipe  getargv.c  -lkvm -o getargv
 > 
 [...]
 > 
 > 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);
 > }
 > 
 Try to setproctitle(3) in argv0(1).
 
 -- 
 Ruslan Ermilov		Oracle Developer/DBA,
 ru@sunbay.com		Sunbay Software AG,
 ru@FreeBSD.org		FreeBSD committer,
 +380.652.512.251	Simferopol, Ukraine
 
 http://www.FreeBSD.org	The Power To Serve
 http://www.oracle.com	Enabling The Information Age
 


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?200006091550.IAA23844>