{"id":23080232,"url":"https://github.com/olemorud/execution-counter","last_synced_at":"2025-06-19T19:38:50.788Z","repository":{"id":115482520,"uuid":"577860787","full_name":"olemorud/execution-counter","owner":"olemorud","description":"Program to track number of times executables in $PATH are executed","archived":false,"fork":false,"pushed_at":"2023-03-20T10:34:36.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-09T02:41:12.548Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/olemorud.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":"2022-12-13T17:34:45.000Z","updated_at":"2022-12-13T17:35:14.000Z","dependencies_parsed_at":null,"dependency_job_id":"8b836f6a-0790-4f99-bf5b-5b652aabe6a4","html_url":"https://github.com/olemorud/execution-counter","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/olemorud%2Fexecution-counter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/olemorud%2Fexecution-counter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/olemorud%2Fexecution-counter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/olemorud%2Fexecution-counter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/olemorud","download_url":"https://codeload.github.com/olemorud/execution-counter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247013915,"owners_count":20869360,"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-12-16T13:05:52.348Z","updated_at":"2025-04-03T13:43:43.803Z","avatar_url":"https://github.com/olemorud.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Execution-counter\nThis program uses `inotify` ([man page](https://man7.org/linux/man-pages/man7/inotify.7.html)) to monitor file accesses for each file in $PATH. A potential use-case is to find which files are not needed in a docker-image.\n\n\n## Build\n```\ngcc exec_tracker.c -o exec_tracker\n```\n\n\n## Usage\n```sh\n# Track number of times executables in PATH are accessed\n./exec_tracker\n\n# Track number of times regular files in \u003cdirectory\u003e is accessed\n./exec_tracker \u003cdirectory\u003e\n```\n\n## Acknowledgments\nThe code borrows heavily from the `inotify` manual page in the Linux Programmer's Manual.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Folemorud%2Fexecution-counter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Folemorud%2Fexecution-counter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Folemorud%2Fexecution-counter/lists"}