Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/phunehehe/cmanager
- Owner: phunehehe
- License: mpl-2.0
- Created: 2014-06-11T12:50:02.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-07-12T02:03:06.000Z (over 10 years ago)
- Last Synced: 2023-03-11T20:47:11.137Z (over 1 year ago)
- Topics: cgroups, haskell
- Language: JavaScript
- Homepage:
- Size: 523 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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`