Re: $0 ?

[prev] [thread] [next] [Date index for 2004/10/29]

From: Stas Bekman
Subject: Re: $0 ?
Date: 18:17 on 29 Oct 2004
Torsten Förtsch wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hi,
> 
> perl allows to modify $0. Then top, ps & co would display the new process 
> title. Can the process title of a mod_perl modified apache be set this way?

What is it that you are trying to do? Change $0 and affect the way it's 
seen from the outside?

Take a look at this commit, which might be of some relevance:
http://marc.theaimsgroup.com/?l=apache-modperl-cvs&m=107672268012042&w=2

        -- 
        __________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@xxxxxx.xxx http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

-- 
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html

(message missing)

$0 ?
Torsten =?iso-8859-1?q?F=F6rtsch?= 17:37 on 29 Oct 2004

Re: $0 ?
Stas Bekman 18:17 on 29 Oct 2004

Re: $0 ?
Torsten =?iso-8859-1?q?F=F6rtsch?= 18:40 on 29 Oct 2004

Re: $0 ?
Stas Bekman 20:13 on 29 Oct 2004

Re: $0 ?
Pratik 20:21 on 29 Oct 2004

Re: $0 ?
Torsten Foertsch 15:18 on 30 Dec 2004

Some tests failed: mod_perl-2.0.0-RC2-XMas on FC3
Patrick LeBoutillier 16:30 on 30 Dec 2004

Re: $0 ?
Stas Bekman 23:02 on 30 Dec 2004

Re: $0 ?
David Nicol 00:21 on 30 Oct 2004

Generated at 12:16 on 16 Jan 2005 by mariachi v0.52