{"id":16900388,"url":"https://github.com/mdlayher/taskstats","last_synced_at":"2025-04-13T00:47:35.255Z","repository":{"id":48351017,"uuid":"102904766","full_name":"mdlayher/taskstats","owner":"mdlayher","description":"Package taskstats provides access to Linux's taskstats interface, for sending per-task and per-process statistics from the kernel to userspace.  MIT Licensed.","archived":false,"fork":false,"pushed_at":"2025-03-13T01:28:22.000Z","size":55,"stargazers_count":64,"open_issues_count":3,"forks_count":17,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-04-13T00:47:29.467Z","etag":null,"topics":["genetlink","golang","linux","netlink","taskstats"],"latest_commit_sha":null,"homepage":null,"language":"Go","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/mdlayher.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2017-09-08T21:11:23.000Z","updated_at":"2025-01-24T20:20:41.000Z","dependencies_parsed_at":"2024-06-18T15:26:18.885Z","dependency_job_id":"e84ea692-52e9-4fce-8afb-2bf5480d0eb1","html_url":"https://github.com/mdlayher/taskstats","commit_stats":{"total_commits":35,"total_committers":7,"mean_commits":5.0,"dds":0.2571428571428571,"last_synced_commit":"a291fa5f5a69a99c3c8cb46f3fdb982c3098f129"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdlayher%2Ftaskstats","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdlayher%2Ftaskstats/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdlayher%2Ftaskstats/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdlayher%2Ftaskstats/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mdlayher","download_url":"https://codeload.github.com/mdlayher/taskstats/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248650434,"owners_count":21139672,"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":["genetlink","golang","linux","netlink","taskstats"],"created_at":"2024-10-13T17:53:23.327Z","updated_at":"2025-04-13T00:47:35.219Z","avatar_url":"https://github.com/mdlayher.png","language":"Go","readme":"# taskstats [![Test Status](https://github.com/mdlayher/taskstats/workflows/Test/badge.svg)](https://github.com/mdlayher/taskstats/actions) [![Go Reference](https://pkg.go.dev/badge/github.com/mdlayher/taskstats.svg)](https://pkg.go.dev/github.com/mdlayher/taskstats)  [![Go Report Card](https://goreportcard.com/badge/github.com/mdlayher/taskstats)](https://goreportcard.com/report/github.com/mdlayher/taskstats)\n\nPackage `taskstats` provides access to Linux's taskstats interface, for sending\nper-task, per-process, and cgroup statistics from the kernel to userspace. MIT\nLicensed.\n\nFor more information on taskstats, please see:\n  - https://www.kernel.org/doc/Documentation/accounting/cgroupstats.txt\n  - https://www.kernel.org/doc/Documentation/accounting/taskstats.txt\n  - https://www.kernel.org/doc/Documentation/accounting/taskstats-struct.txt\n  - https://andrestc.com/post/linux-delay-accounting/\n\n## Notes\n\n* When instrumenting Go programs, use either the `taskstats.Self()` or\n  `taskstats.TGID()` method.  Using the `PID()` method on multithreaded\n  programs, including Go programs, will produce inaccurate results.\n\n* Access to taskstats requires that the application have at least `CAP_NET_RAW`\n  capability (see\n  [capabilities(7)](http://man7.org/linux/man-pages/man7/capabilities.7.html)).\n  Otherwise, the application must be run as root.\n\n* If running the application in a container (e.g. via Docker), it cannot be run\n  in a network namespace -- usually this means that host networking must be\n  used.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmdlayher%2Ftaskstats","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmdlayher%2Ftaskstats","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmdlayher%2Ftaskstats/lists"}