Add support for the memsw limits that limit memory+swap
[compctl.git] / README
blob812101bbb413e1b046f9c03a31d2471605f1d251
1 **Computations under control** will run a specificed program as
2 a non-interactive computation process, allowing it to be listed
3 and regulated by the user of the computer.
5 To avoid needless use of setuid, it uses a simple client-server
6 architecture. On boot, compctld daemon is started (as root),
7 sets up the cgroup infrastructure and accepts requests from clients
8 for moving a process to cgroup, killing a cgroup'd process and
9 tweaking the cgroup limits.
11 The client compctl interface simply queries the server using
12 a synchronous protocol over a UNIX socket. First, the client
13 sends a command string message coupled with a SCM_CREDENTIALS
14 ancilliary message. Then, it receives a reply message.
15 Connection is closed immediately on breach of protocol.
18 You can tweak some simple compile-time configuration variables
19 in file 'common.h'. Build everything using the `make` command.
20 Then, arrange compctld to be run on boot and put compctl in $PATH
21 for your users to enjoy.