What about changing the process title?<p>Eg, <a href="https://github.com/dvarrazzo/py-setproctitle" rel="nofollow">https://github.com/dvarrazzo/py-setproctitle</a> .<p>> The setproctitle module allows a process to change its title (as displayed by system tools such as ps, top or MacOS Activity Monitor).<p>> 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. ...<p>> 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