Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/phunehehe/cmanager

Web service that manages CGroups
https://github.com/phunehehe/cmanager

cgroups haskell

Last synced: 9 days ago
JSON representation

Web service that manages CGroups

Awesome Lists containing this project

README

        

# CManager

CManager is a web service that manages CGroups. It provides a website for human
use, as well as an API for machine use.

## Website

Just visit `localhost`, intuition will lead your way from there.

## API Specs

### Get All Groups

- URL: `/api/groups`
- Method: GET

### Get Tasks in a Group

- URL: `/api/groups/`
- Method: GET

`` should be URL-encoded

### Add a Task to a Group

- URL: `/api/groups/`
- Method: POST

`` should be URL-encoded

Parameters:

- `pid`: The PID of the task to be added to the group

## Installation

1. Include `module.nix` from `/etc/nixos/configuration.nix`
2. Run `nixos-rebuild switch`