{"id":25323770,"url":"https://github.com/mostik/ps","last_synced_at":"2025-04-07T23:14:03.286Z","repository":{"id":277043688,"uuid":"913560093","full_name":"Mostik/ps","owner":"Mostik","description":"linux proc/pid/stat","archived":false,"fork":false,"pushed_at":"2025-02-11T19:56:05.000Z","size":7,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-07T23:13:52.314Z","etag":null,"topics":["zig","zig-package"],"latest_commit_sha":null,"homepage":"","language":"Zig","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/Mostik.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":"2025-01-07T23:25:18.000Z","updated_at":"2025-03-31T06:03:25.000Z","dependencies_parsed_at":"2025-02-11T20:49:36.812Z","dependency_job_id":null,"html_url":"https://github.com/Mostik/ps","commit_stats":null,"previous_names":["mostik/ps"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mostik%2Fps","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mostik%2Fps/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mostik%2Fps/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mostik%2Fps/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Mostik","download_url":"https://codeload.github.com/Mostik/ps/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247744333,"owners_count":20988783,"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":["zig","zig-package"],"created_at":"2025-02-14T00:25:58.745Z","updated_at":"2025-04-07T23:14:03.271Z","avatar_url":"https://github.com/Mostik.png","language":"Zig","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Proc stat\n\n## Install\n```\nzig fetch --save https://github.com/Mostik/ps/archive/v0.0.1.tar.gz\n```\n```zig\n//build.zig\nconst ps = b.dependency(\"ps\", .{}).module(\"ps\");\n\nexe.root_module.addImport(\"ps\", ps);\n\n```\n```zig\nconst std = @import(\"std\");\nconst ps = @import(\"ps\");\n\npub fn main() !void {\n    \n    var gpa = std.heap.GeneralPurposeAllocator(.{}){};\n\n    const allocator = gpa.allocator();\n\n    const stat: ps.ProcStat = try ps.get(allocator, std.os.linux.getpid());\n\n    std.debug.print(\"PID: {d} Vsize: {d} \\n\", .{ stat.pid, stat.vsize });\n\n}\n\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmostik%2Fps","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmostik%2Fps","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmostik%2Fps/lists"}