{"id":20029969,"url":"https://github.com/linarcx/iproc","last_synced_at":"2025-10-13T10:37:53.618Z","repository":{"id":118869308,"uuid":"302729451","full_name":"LinArcX/iproc","owner":"LinArcX","description":"A cross-platform utility (linux, windows for now) that help you gather information (cpu_usage, memory_usage, ...) from a particular process.","archived":false,"fork":false,"pushed_at":"2020-10-17T07:52:23.000Z","size":26,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-09-08T06:49:10.012Z","etag":null,"topics":["c","cpu-monitoring","memory","monitoring-tool","proc","process"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/LinArcX.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-10-09T18:59:39.000Z","updated_at":"2023-04-17T07:52:51.000Z","dependencies_parsed_at":null,"dependency_job_id":"c4fa4de8-b488-481d-8d27-9e02cf24923c","html_url":"https://github.com/LinArcX/iproc","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/LinArcX/iproc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LinArcX%2Fiproc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LinArcX%2Fiproc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LinArcX%2Fiproc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LinArcX%2Fiproc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LinArcX","download_url":"https://codeload.github.com/LinArcX/iproc/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LinArcX%2Fiproc/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279014651,"owners_count":26085555,"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-13T02:00:06.723Z","response_time":61,"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","cpu-monitoring","memory","monitoring-tool","proc","process"],"created_at":"2024-11-13T09:23:57.623Z","updated_at":"2025-10-13T10:37:53.587Z","avatar_url":"https://github.com/LinArcX.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch4 align=\"center\"\u003e\n  \u003cimg src=\"https://img.shields.io/github/languages/top/LinArcX/iproc.svg\"/\u003e  \u003cimg src=\"https://img.shields.io/github/repo-size/LinArcX/iproc.svg\"/\u003e  \u003cimg src=\"https://img.shields.io/github/tag/LinArcX/iproc.svg?colorB=green\"/\u003e\n\u003c/h4\u003e\n\n# iproc\nA utility that help you gather information (*cpu_usage*, *memory_usage*, ...) from a particular process.\n\n# Usage\nYou'll see something like this:\n```\n↳ iproc -p 25933 -r 4\n[2]\n        Mem: 8524 Kb\n        Cpu: 0.1%\n[4]\n        Mem: 1524 Kb\n        Cpu: 1.4%\n[6]\n        Mem: 4523 Kb\n        Cpu: 0.0%\n[8]\n        Mem: 4220 Kb\n        Cpu: 2.3%\n\n```\n\n\nTo see full range of options, use `-h`:\n```\nOptions:\n        -p,--process-id     The process-id to watch\n        -i,--interval       The period of time to do unlimited calculations.(default = 2)\n        -o,--one-shot       Just calculate once\n        -r,--repetition     The number of repetitions\n        -h,--help           Show this help message\n```\n\n# Build\n## Linux\nFirst make sure you have these tools on your machine:\n- `make`\n- `clang` or `gcc` or any other c-compiler that you prefre.\n\nThen:\n`cd linux; make; ./release/iproc -p \u003cPID\u003e`\n\n## Windows\nYou have three options:\n1. Open solution file that resides here: `.\\windows\\visual_studio\\iproc.sln` and build the project through IDE.\n2. Build from command-line via `cl.exe`.\n\n    2.1. Open visual studio command prompt.\n\n    2.3. Change to __.\\iproc\\windows__ direcotry.\n\n    2.4. `cl.exe ..\\core\\iproc.c .\\windows.c`\n\n    Tip: If you don't have visual-studio command prompt or prefer to stay in your current pwsh, you can prepare `cl.exe` via this command:\n\n    `Invoke-CmdScript \"C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\BuildTools\\VC\\Auxiliary\\Build\\vcvars64.bat\"`\n\n3. Or you can use __mingw__(that contains **gcc**), or __clang__ or any other c-compiler that you prefer.\n\n# Todo\n- [ ] Cpu usage in linux isn't correct.\n- [ ] Memory usage in windows isn't correct.\n\n## License\n![License](https://img.shields.io/github/license/LinArcX/iproc.svg)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flinarcx%2Fiproc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flinarcx%2Fiproc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flinarcx%2Fiproc/lists"}