Skip to content

phunehehe/cmanager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

80 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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/<group_name>
  • Method: GET

<group_name> should be URL-encoded

Add a Task to a Group

  • URL: /api/groups/<group_name>
  • Method: POST

<group_name> 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

About

Web service that manages CGroups

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published