{"id":15646602,"url":"https://github.com/scottclowe/cpu-gpu-utilisation-logging","last_synced_at":"2026-03-07T21:02:37.562Z","repository":{"id":98137697,"uuid":"168753238","full_name":"scottclowe/cpu-gpu-utilisation-logging","owner":"scottclowe","description":"Log CPU and GPU utilisation at regular intervals","archived":false,"fork":false,"pushed_at":"2020-02-28T20:57:55.000Z","size":7,"stargazers_count":5,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-15T03:11:25.318Z","etag":null,"topics":["cpu-monitoring","gpu-monitoring","nvidia","nvidia-smi"],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/scottclowe.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":"2019-02-01T20:00:57.000Z","updated_at":"2024-08-30T12:54:24.000Z","dependencies_parsed_at":"2026-01-30T05:00:45.350Z","dependency_job_id":null,"html_url":"https://github.com/scottclowe/cpu-gpu-utilisation-logging","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/scottclowe/cpu-gpu-utilisation-logging","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scottclowe%2Fcpu-gpu-utilisation-logging","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scottclowe%2Fcpu-gpu-utilisation-logging/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scottclowe%2Fcpu-gpu-utilisation-logging/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scottclowe%2Fcpu-gpu-utilisation-logging/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/scottclowe","download_url":"https://codeload.github.com/scottclowe/cpu-gpu-utilisation-logging/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scottclowe%2Fcpu-gpu-utilisation-logging/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30231490,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-07T19:01:10.287Z","status":"ssl_error","status_checked_at":"2026-03-07T18:59:58.103Z","response_time":53,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["cpu-monitoring","gpu-monitoring","nvidia","nvidia-smi"],"created_at":"2024-10-03T12:13:25.663Z","updated_at":"2026-03-07T21:02:37.542Z","avatar_url":"https://github.com/scottclowe.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CPU and GPU utilisation logging\n\nLogs GPU and CPU utilization, either to stdout or to a CSV file.\n\n```sh\nlog_gpu_cpu_stats  [OPTION1 [ARG1]] [OPTION2 [ARG2]] ... [FILE]\n```\n\n## Usage\n\n```sh\nlog_gpu_cpu_stats\nlog_gpu_cpu_stats -l 10\nlog_gpu_cpu_stats compute_usage_log.csv\nlog_gpu_cpu_stats --no-header -l 5 -n 60 compute_usage_log.csv\n```\n\n## Options\n\n```\n-h, --help          Show usage and exit.\n\n--loop \u003cINTERVAL\u003e\n-l \u003cINTERVAL\u003e       Loop every INTERVAL seconds. Default is 1 second.\n                    A minimum of 0.5 is recommended, to get reliable CPU\n                    data.\n\n--niter \u003cMAXITER\u003e\n-n \u003cMAXITER\u003e        Repeat at most MAXITER times. Default is -1,\n                    which corresponds to forever (send interrput signal\n                    to terminate).\n\n-H, --no-header     Disable header in table output. Default is enabled.\n\n--header            Enable header in table output. Default is enabled.\n\n-c, --csv           Output in csv style. Default style is csv if FILE is\n                    set.\n\n-t, --tabular       Output in ascii table style. Default style is tabular\n                    if FILE is not set (output is sent to stdout).\n\n-I, --date-iso      Show time in ISO format. Default is seconds (-s flag).\n\n-s, --date-seconds  Show time in seconds since Unix epoch (with ms\n                    precision reported). Enabled by default.\n\n--date \u003cFORMAT\u003e\n-d \u003cFORMAT\u003e         Show time in custom format, FORMAT.\n\n[FILE]              If present, output is appended to FILE. If omitted,\n                    output is sent to stdout.\n```\n\n## Requirements\n\n- POSIX-compliant shell (tested in both bash and dash)\n- nvidia-smi\n- top\n- bc\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscottclowe%2Fcpu-gpu-utilisation-logging","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fscottclowe%2Fcpu-gpu-utilisation-logging","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscottclowe%2Fcpu-gpu-utilisation-logging/lists"}