Allow customization of the process title.
The library allows a process to change its title (as displayed by system tools such as ps and top).
You can use easy_install to install the module: to perform a system-wide installation use:
sudo easy_install setproctitle
If you are an unprivileged user or you want to limit installation to a local environment, you can use the command:
easy_install -d /target/path setproctitle
Notice that easy_install requires /target/path to be in your PYTHONPATH.
The module exports the following functions:
- Set title as the title for the current process.
- Return the current process title.
Albeit the core part of the code has been tested on a wild variety of platforms, the compiling procedure for the Python module has currently been tested on GNU/Linux only.