1
python-prctl -- Control process attributes through prctl
2
========================================================
4
The linux prctl function allows you to control specific characteristics of a
5
process' behaviour. Usage of the function is fairly messy though, due to
6
limitations in C and linux. This module provides a nice non-messy python(ic)
9
Besides prctl, this library also wraps libcap for complete capability handling
10
and allows you to set the process name as seen in ps and top.
12
See docs/index.rst for the documentation. An HTML version can be found on
13
http://packages.python.org/python-prctl/
15
Quick install instructions
16
==========================
17
Before installing python-prctl, you need GCC, libc headers and libcap headers.
20
$ sudo apt-get install build-essential libcap-dev
24
$ sudo yum install gcc glibc-devel libcap-devel
28
$ sudo easy_install python-prctl
32
$ git clone http://github.com/seveas/python-prctl
34
$ python setup.py build
35
$ sudo python setup.py install