{"id":22917542,"url":"https://github.com/sprookie/monitor","last_synced_at":"2025-10-28T06:39:54.065Z","repository":{"id":260581200,"uuid":"881739964","full_name":"sprookie/monitor","owner":"sprookie","description":"user-wise kmod to monitor the CPU usage, memory usage, and I/O usage for a specified user","archived":false,"fork":false,"pushed_at":"2024-11-01T06:05:02.000Z","size":5,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-01T12:51:25.544Z","etag":null,"topics":["c","cgroup","kernel-5-10","kernel-module","monitor"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sprookie.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-11-01T05:58:01.000Z","updated_at":"2024-12-03T03:02:44.000Z","dependencies_parsed_at":null,"dependency_job_id":"2c1d30d8-433e-4598-907e-abb6ba8ef2e0","html_url":"https://github.com/sprookie/monitor","commit_stats":null,"previous_names":["sprookie/monitor"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sprookie/monitor","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sprookie%2Fmonitor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sprookie%2Fmonitor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sprookie%2Fmonitor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sprookie%2Fmonitor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sprookie","download_url":"https://codeload.github.com/sprookie/monitor/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sprookie%2Fmonitor/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281397338,"owners_count":26493908,"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","status":"online","status_checked_at":"2025-10-28T02:00:06.022Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["c","cgroup","kernel-5-10","kernel-module","monitor"],"created_at":"2024-12-14T06:18:39.229Z","updated_at":"2025-10-28T06:39:54.060Z","avatar_url":"https://github.com/sprookie.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"**资源限制思路**：用户态程序利用cgroupv2，自动为每个登录上来要被监控的用户创建cgroup，根据文件限制对应资源的多少\n\n**资源监控：**\n\n内核模块维护一个需要被监控用户链表，并设置定时器，定时循环链表计算或者读取cpu、io、memory资源信息\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsprookie%2Fmonitor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsprookie%2Fmonitor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsprookie%2Fmonitor/lists"}