{"id":16696096,"url":"https://github.com/clord/linux-cgroups","last_synced_at":"2025-03-14T02:14:07.564Z","repository":{"id":14522040,"uuid":"17236137","full_name":"clord/linux-cgroups","owner":"clord","description":"Very basic interface to the Linux CGroup Virtual Filesystem","archived":false,"fork":false,"pushed_at":"2014-02-28T14:51:47.000Z","size":136,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-20T21:30:02.211Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Haskell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/clord.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-02-27T04:09:23.000Z","updated_at":"2016-09-15T21:12:14.000Z","dependencies_parsed_at":"2022-09-11T03:41:03.592Z","dependency_job_id":null,"html_url":"https://github.com/clord/linux-cgroups","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clord%2Flinux-cgroups","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clord%2Flinux-cgroups/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clord%2Flinux-cgroups/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clord%2Flinux-cgroups/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/clord","download_url":"https://codeload.github.com/clord/linux-cgroups/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243510122,"owners_count":20302294,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-12T17:25:58.011Z","updated_at":"2025-03-14T02:14:07.543Z","avatar_url":"https://github.com/clord.png","language":"Haskell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CGroup Introduction\n\nWith this library you can interact directly with Linux's [cgroups](https://www.kernel.org/doc/Documentation/cgroups/cgroups.txt) feature, access basic information about them including the associated PIDs, and add PIDs to a group. What are cgroups?\n\n\u003e Control Groups provide a mechanism for aggregating/partitioning sets of\n\u003e tasks, and all their future children, into hierarchical groups with\n\u003e specialized behaviour.\n\nThe library uses types to distinguish between data originating from anonymous sources, and data from other parts of the API. Doing this keeps everything safe, but also limits the performance impact of using the API on untainted data. \n\n## Methods\n\n\n* fetching `allCGroups`,\n* `listTasks` will list PIDs associated with a particular cgroup\n* and `addTask` will add a particular PID to a given CGroup.\n* More to come! This library will eventually expose the entire cgroup VFS, including resource limits, prioritization, accounting, freezing, checkpointing, and restarting.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclord%2Flinux-cgroups","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fclord%2Flinux-cgroups","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclord%2Flinux-cgroups/lists"}