{"id":15687359,"url":"https://github.com/trstringer/linux-core-temperature-monitor","last_synced_at":"2025-05-07T19:41:59.925Z","repository":{"id":147740143,"uuid":"105938813","full_name":"trstringer/linux-core-temperature-monitor","owner":"trstringer","description":":fire: Script (meant to run via cron) to monitor, log, and alert when the CPU is throttled due to overheating","archived":false,"fork":false,"pushed_at":"2017-10-05T20:47:47.000Z","size":1,"stargazers_count":12,"open_issues_count":1,"forks_count":5,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-31T13:27:46.397Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/trstringer.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":"2017-10-05T20:47:33.000Z","updated_at":"2024-11-21T16:40:47.000Z","dependencies_parsed_at":"2023-05-27T09:15:31.027Z","dependency_job_id":null,"html_url":"https://github.com/trstringer/linux-core-temperature-monitor","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/trstringer%2Flinux-core-temperature-monitor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trstringer%2Flinux-core-temperature-monitor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trstringer%2Flinux-core-temperature-monitor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trstringer%2Flinux-core-temperature-monitor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/trstringer","download_url":"https://codeload.github.com/trstringer/linux-core-temperature-monitor/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252945723,"owners_count":21829643,"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-10-03T17:47:56.435Z","updated_at":"2025-05-07T19:41:59.898Z","avatar_url":"https://github.com/trstringer.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Linux Temperature and Load Monitoring\n\nIn short, this is a helper script that I created to log relevant information for troubleshooting my overheating machine, which was causing CPU throttling and a less-than-desirable computing experience.\n\nThis script does the following:\n\n- Retrieve and log CPU core temperatures\n- Retrieve and log computer fan speed\n- Retrieve and log system load for the past minute\n- Retrieve and log any systemd journal entries indicating a throttled CPU condition\n- Notify (GNOME desktop environment) if a throttled CPU condition has been met\n\nThis script makes a handful of assumptions (primarily because this was made for my environment):\n\n- Using systemd (for throttle log entries)\n- Using GNOME (for desktop notifications)\n- The `lm_sensors` package must be installed (on Fedora: `$ sudo dnf install -y lm_sensors`)\n\n### Scheduling the script\n\nI have scheduled this script to run every minute. This is the crontab entry to accomplish this (`crontab -e`):\n\n```\n* * * * * /home/trstringer/dev/python/temp-monitor/app.py\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrstringer%2Flinux-core-temperature-monitor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftrstringer%2Flinux-core-temperature-monitor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrstringer%2Flinux-core-temperature-monitor/lists"}