~ubuntu-branches/ubuntu/natty/python-prctl/natty

« back to all changes in this revision

Viewing changes to README

  • Committer: Bazaar Package Importer
  • Author(s): Dennis Kaarsemaker
  • Date: 2010-04-19 21:55:57 UTC
  • Revision ID: james.westby@ubuntu.com-20100419215557-d40vt94qk1itk2ms
Tags: upstream-1.1.1
ImportĀ upstreamĀ versionĀ 1.1.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
python-prctl -- Control process attributes through prctl
 
2
========================================================
 
3
 
 
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)
 
7
interface.
 
8
 
 
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.
 
11
 
 
12
See docs/index.rst for the documentation. An HTML version can be found on
 
13
http://packages.python.org/python-prctl/
 
14
 
 
15
Quick install instructions
 
16
==========================
 
17
Before installing python-prctl, you need GCC, libc headers and libcap headers.
 
18
On Debian/Ubuntu:
 
19
 
 
20
$ sudo apt-get install build-essential libcap-dev
 
21
 
 
22
On fedora:
 
23
 
 
24
$ sudo yum install gcc glibc-devel libcap-devel
 
25
 
 
26
Stable version:
 
27
 
 
28
$ sudo easy_install python-prctl
 
29
 
 
30
Latest code:
 
31
 
 
32
$ git clone http://github.com/seveas/python-prctl
 
33
$ cd python-prctl
 
34
$ python setup.py build
 
35
$ sudo python setup.py install