setproctitle

Allow customization of the process title
Download

setproctitle Ranking & Summary

Advertisement

  • Rating:
  • License:
  • BSD License
  • Price:
  • FREE
  • Publisher Name:
  • Daniele Varrazzo
  • Publisher web site:
  • http://code.google.com/u/daniele.varrazzo/

setproctitle Tags


setproctitle Description

Allow customization of the process title setproctitle is a Python library that allows a process to change its title (as displayed by system tools such as ps and top).The procedure is hardly portable across different systems. A good implementation is provided by PostgreSQL: this module is a wrapper around it.InstallationYou can use easy_install to install the module: to perform a system-wide installation use:sudo easy_install setproctitleIf 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 setproctitleNotice that easy_install requires /target/path to be in your PYTHONPATH.Module contentThe module exports the following functions:setproctitle(title) Set title as the title for the current process.getproctitle() Return the current process title.Module statusAlbeit 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.Other known implementations and discussions* procname: a module exposing the same functionality, but less portable and not well packaged.* Issue 5672: where the introduction of such functionality into the stdlib is being discussed. Requirements: · Python What's New in This Release: · Module works on BSD (tested on FreeBSD 7.2). · Module works on Windows. Many thanks to Develer which provided a neat GCC package for Windows with Python integration that made the Windows porting painless.


setproctitle Related Software