setproctitle [was: How do I change a process name or even a thread name in python!]

Oleg Broytmann phd at
Wed Feb 14 10:20:47 CET 2001

On Tue, 13 Feb 2001, Steven D. Majewski wrote:
> -       return posix_1str(args, "s:setproctitle", setproctitle);

   setproctitle is available in libc only in *BSD. Other unicies require
different tricks. Have you ever looked at sendmail source code? You'll find
there many surprises. The problem is their license.
   May be I'll steal the code from Postgres (which has similar, but
different implementation, covered under BSD license).

     Oleg Broytmann              phd at
           Programmers don't die, they just GOSUB without RETURN.

More information about the Python-list mailing list