{"id":22034856,"url":"https://github.com/gmagno/tmon","last_synced_at":"2025-05-07T19:02:16.040Z","repository":{"id":57475967,"uuid":"237050821","full_name":"gmagno/tmon","owner":"gmagno","description":"Temperature Monitor -- a simple CLI tool for monitoring/reporting CPU temperatures.","archived":false,"fork":false,"pushed_at":"2022-12-26T21:00:52.000Z","size":101,"stargazers_count":11,"open_issues_count":6,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-15T12:25:33.930Z","etag":null,"topics":["cli","cpu-temperature","linux","python3"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gmagno.png","metadata":{"files":{"readme":"README.rst","changelog":"HISTORY.rst","contributing":"CONTRIBUTING.rst","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-01-29T18:13:29.000Z","updated_at":"2025-01-30T00:50:03.000Z","dependencies_parsed_at":"2023-01-31T01:45:54.740Z","dependency_job_id":null,"html_url":"https://github.com/gmagno/tmon","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gmagno%2Ftmon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gmagno%2Ftmon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gmagno%2Ftmon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gmagno%2Ftmon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gmagno","download_url":"https://codeload.github.com/gmagno/tmon/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252940883,"owners_count":21828766,"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":["cli","cpu-temperature","linux","python3"],"created_at":"2024-11-30T10:14:16.275Z","updated_at":"2025-05-07T19:02:15.910Z","avatar_url":"https://github.com/gmagno.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"===================\nTemp Monitor\n===================\n\n\n.. image:: https://img.shields.io/pypi/v/tmonpy.svg\n        :target: https://pypi.python.org/pypi/tmonpy\n\n.. image:: https://img.shields.io/travis/gmagno/tmon.svg\n        :target: https://travis-ci.org/gmagno/tmon\n\n.. image:: https://readthedocs.org/projects/tmon/badge/?version=latest\n        :target: https://tmon.readthedocs.io/en/latest/?badge=latest\n        :alt: Documentation Status\n\n.. .. image:: https://img.shields.io/pypi/dm/tmonpy\n..         :alt: PyPI - Downloads\n\n.. image:: https://img.shields.io/github/downloads/gmagno/tmon/total\n        :alt: GitHub All Releases\n\n\n\nA Python CLI utility to monitor cpu temperature\n\n\n* Free software: MIT license\n* Documentation: https://tmon.readthedocs.io.\n\n\nInstall\n--------\n\n::\n\n        pip install tmonpy\n\nor\n\n::\n\n        $ # download the AppImage file from the releases page\n        $ wget https://github.com/gmagno/tmon/releases/latest/download/tmon-???????-x86_64.AppImage\n        $ chmod +x tmon-*-x86_64.AppImage\n\n\n\nUsage\n--------\n\n::\n\n    tmon -h\n    usage: tmon [-h] [-v] [-y YSIZE] [-x XSIZE] [-l MIN MAX] ...\n\n    Temperature Monitor (tmon v0.3.6) -- executes a program while\n    monitoring CPU temperature, reporting the min, max and mean\n    temperatures and plotting an ascii chart at the end to stderr.\n    All signals are redirected to the program.\n    If no program is passed, tmon runs as expected returning on\n    SIGINT (Ctrl-C).\n    For full documentation check the repo: https://github.com/gmagno/tmon\n\n    positional arguments:\n    CMD                   Command args to run.\n\n    optional arguments:\n    -h, --help            show this help message and exit\n    -v, --version         Shows tmon version.\n    -y YSIZE, --ysize YSIZE\n                            Y-axis size in number terminal characters\n    -x XSIZE, --xsize XSIZE\n                            X-axis size in number terminal characters\n    -l MIN MAX, --ylim MIN MAX\n                            Y-axis view limits with min and max values. It is\n                            ignored if the measured temperatures fall outside the\n                            specified range.\n\n    return:\n        tmon returns when the child program exits, stops, or is\n        terminated by a signal. The return value of tmon is the return\n        value of the program it executed.\n\n    examples:\n        $ tmon echo How can a clam cram in a clean cream can\n        How can a clam cram in a clean cream can\n\n        ===================\n        Temp Monitor Report:\n\n        Temp (°C) for a period of 0:00:00\n        \u003e\u003e 53.0 °C \u003c\u003c\n\n        /tmp/tmon-YYYYMMDD@HHhMMmSS-XXXXXXXX.txt\n        ===================\n\n        $ tmon bash -c 'sleep 6; stress -c 4 -t 3; sleep 6'\n        stress: info: [17832] dispatching hogs: 4 cpu, 0 io, 0 vm, 0 hdd\n        stress: info: [17832] successful run completed in 3s\n\n        ===================\n        Temp Monitor Report:\n\n        Temp (°C) for a period of 0:00:15\n        59.00  ┤\n        58.67  ┤\n        58.33  ┤\n        58.00  ┤\n        57.67  ┤      ╭─╮\n        57.33  ┤      │ │\n        57.00  ┤      │ │\n        56.67  ┤     ╭╯ ╰╮\n        56.33  ┤     │   │\n        56.00  ┤     │   │\n        55.67  ┼─╮   │   │\n        55.33  ┤ │   │   │\n        55.00  ┤ ╰───╯   ╰────╮\n        54.67  ┤              │\n        54.33  ┤              │\n        54.00  ┤              ╰\n\n        /tmp/tmon-YYYYMMDD@HHhMMmSS-XXXXXXXX.txt\n        ===================\n\n        $ tmon -y 5 -x 5 bash -c 'sleep 6; stress -c 4 -t 3; sleep 6'\n        stress: info: [17181] dispatching hogs: 4 cpu, 0 io, 0 vm, 0 hdd\n        stress: info: [17181] successful run completed in 3s\n\n        ===================\n        Temp Monitor Report:\n\n        Temp (°C) for a period of 0:00:15\n        60.00  ┤\n        59.00  ┤  ╭╮\n        58.00  ┼╮╭╯│\n        57.00  ┤╰╯ │\n        56.00  ┤   ╰─\n\n        /tmp/tmon-YYYYMMDD@HHhMMmSS-XXXXXXXX.txt\n        ===================\n\n        $ tmon -l 40 70 -x 10 -y 10 bash -c 'stress -c 4 -t 3; sleep 6'\n        stress: info: [19677] dispatching hogs: 4 cpu, 0 io, 0 vm, 0 hdd\n        stress: info: [19677] successful run completed in 3s\n\n        ===================\n        Temp Monitor Report:\n\n        Temp (°C) for a period of 0:00:09\n        70.00  ┤\n        66.67  ┤\n        63.33  ┤\n        60.00  ┤\n        56.67  ┼───╮\n        53.33  ┤   ╰─────\n        50.00  ┤\n        46.67  ┤\n        43.33  ┤\n        40.00  ┤\n\n        /tmp/tmon-YYYYMMDD@HHhMMmSS-XXXXXXXX.txt\n        ===================\n\n    copyright:\n        Copyright © 2020 Gonçalo Magno \u003cgoncalo@gmagno.dev\u003e\n        This software is licensed under the MIT License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgmagno%2Ftmon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgmagno%2Ftmon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgmagno%2Ftmon/lists"}