[lkml]   [2003]   [Jan]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
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.



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
More majordomo info at
Please read the FAQ at

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