[vdr] Plugins showing their names in process list?
u.petri at gmail.com
Thu Apr 14 16:21:36 CEST 2005
On 4/13/05, Chris Warren <dvb at ixalon.net> wrote:
> > -----Original Message-----
> > From: vdr-bounces at linuxtv.org
> > [mailto:vdr-bounces at linuxtv.org] On Behalf Of Klaus Schmidinger
> > [snip]
> > Well, each thread can be given a "description", so if
> > somebody finds a way to make the 'ps' list show a given
> > string for a particular thread, it should be possible to show
> > something more informative here.
> Yeah, it would be nice - but the linux kernel is missing support for
> setproctitle(), and the only user-space implementations I can find use the
> incredibly hacky method of overwriting the characters in the argv array.
> An example implementation:
This seems to be the way to do it.
See  and .
There are other tools that uses this method e.g. readproctitle in Dan
Bernstein's deamontools e.g. 
More information about the vdr