> The setproctitle module allows a process to change its title (as displayed by system tools such as ps, top or MacOS Activity Monitor).
> Changing the title is mostly useful in multi-process systems, for example when a master process is forked: changing the children's title allows to identify the task each process is busy with. ...
> Note that on Windows there is no way to change the process string: what the module does is to create a Named Object whose value can be read using a tool such as Process Explorer
1 comment
[ 3.0 ms ] story [ 14.3 ms ] threadEg, https://github.com/dvarrazzo/py-setproctitle .
> The setproctitle module allows a process to change its title (as displayed by system tools such as ps, top or MacOS Activity Monitor).
> Changing the title is mostly useful in multi-process systems, for example when a master process is forked: changing the children's title allows to identify the task each process is busy with. ...
> Note that on Windows there is no way to change the process string: what the module does is to create a Named Object whose value can be read using a tool such as Process Explorer