lkml.org 
[lkml]   [2003]   [Jan]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Changing argv[0] under Linux.

On Wed, 2003-01-15 at 00:59, DervishD wrote:
>
> I want to change the argv[0] a program shows, in order
> to be pretty-printed when issuing 'ps', 'top' or
> other commands.

Sorry about the late reply.

This is done nicely in PostgreSQL. Check source at early
initializing parts of the postmaster.

Anuradha

--

Debian GNU/Linux (kernel 2.4.20)

It may be better to be a live jackal than a dead lion, but it is better
still to be a live lion. And usually easier.
-- Lazarus Long

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:32    [W:0.325 / U:0.208 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site