-----Original Message----- From: vdr-bounces@linuxtv.org [mailto:vdr-bounces@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: http://cvs.linux-ha.org/viewcvs/viewcvs.cgi/linux-ha/heartbeat/setproctitle. c?rev=1.10.2.1&content-type=text/vnd.viewcvs-markup.
Chris