skip to navigation
skip to content

python-prctl 1.6.1

Python(ic) interface to the linux prctl syscall

Package Documentation

python-prctl – Control process attributes through prctl

The linux prctl function allows you to control specific characteristics of a process’ behaviour. Usage of the function is fairly messy though, due to limitations in C and linux. This module provides a nice non-messy python(ic) interface.

Besides prctl, this library also wraps libcap for complete capability handling and allows you to set the process name as seen in ps and top.

See docs/index.rst for the documentation. An HTML version can be found on

Quick install instructions

Before installing python-prctl, you need GCC, libc headers and libcap headers. On Debian/Ubuntu:

$ sudo apt-get install build-essential libcap-dev

On fedora:

$ sudo yum install gcc glibc-devel libcap-devel

Stable version:

$ sudo easy_install python-prctl

Latest code:

$ git clone $ cd python-prctl $ python build $ sudo python install

File Type Py Version Uploaded on Size
python-prctl-1.6.1.tar.gz (md5) Source 2015-02-10 23KB