{"id":21152121,"url":"https://github.com/sharow/poormon","last_synced_at":"2026-07-06T10:31:14.536Z","repository":{"id":69134500,"uuid":"80817848","full_name":"sharow/poormon","owner":"sharow","description":" :minidisc: not SMART front end to smartctl(smartmontools)","archived":false,"fork":false,"pushed_at":"2017-02-03T12:12:19.000Z","size":20,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-14T14:47:41.370Z","etag":null,"topics":["hdd","smartctl","smartmontools","ssd"],"latest_commit_sha":null,"homepage":"","language":"Python","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/sharow.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":"2017-02-03T10:06:42.000Z","updated_at":"2023-04-04T08:08:08.000Z","dependencies_parsed_at":"2023-09-15T02:35:03.560Z","dependency_job_id":null,"html_url":"https://github.com/sharow/poormon","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sharow/poormon","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sharow%2Fpoormon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sharow%2Fpoormon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sharow%2Fpoormon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sharow%2Fpoormon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sharow","download_url":"https://codeload.github.com/sharow/poormon/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sharow%2Fpoormon/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35187624,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-06T02:00:07.184Z","response_time":106,"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":["hdd","smartctl","smartmontools","ssd"],"created_at":"2024-11-20T10:25:24.965Z","updated_at":"2026-07-06T10:31:14.508Z","avatar_url":"https://github.com/sharow.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# poormon\nnot SMART front end to smartctl(smartmontools)\n- only show attributes 5, 187, 188, 197, 198 that picked from [Backblaze blog](https://www.backblaze.com/blog/what-smart-stats-indicate-hard-drive-failures/)\n- show `devstat` if available\n- show DWPD (Drive Write Per Day)\n\n\n# examples\n\n#### TOSHIBA Consumer Grade HDD\nneed `root` user or `disk` group\n```\n$ sudo ./poormon /dev/sdf\nDevice: TOSHIBA DT01ACA300 (~~)\nCapacity: 2794.52 GiB (3000.59 GB)\nPower On: 0.17 years (1504 hours, 62.7 days, power cycle 154)\nSMART:\n    5: Reallocated Sectors Count     : 0\n  197: Current Pending Sector Count  : 0\n  198: Uncorrectable Sector Count    : 0\nDevice stat:\n  Write: 7.94 TiB (2.91 drive write)\n  Read:  9.37 TiB\n  Read/Write Ratio:  1.18\n  Write per Year: 46.24 TiB/year\n  Write per Day: 129.72 GiB/day (0.046 DWPD)\n  Read per Year: 54.58 TiB/year\n  Read per Day: 153.11 GiB/day\n  Read Recovery: 0 corrected, 0 uncorrect\n  Interface CRC Errors: 0\n  Mechanical Start Failures: 6\n```\nthis consumer grade drive support devstat(cool!).\u003cbr\u003e\nbut another one is ...\n\n#### Seagate Consumer Grade HDD\n```\nDevice: ST2000DL003-9VT166 (~~)\nCapacity: 1863.02 GiB (2000.40 GB)\nPower On: 2.25 years (19737 hours, 822.4 days, power cycle 2376)\nSMART:\n    5: Reallocated Sectors Count     : 0\n  187: Reported Uncorrectable Errors : 0\n  188: Command Timeout               : 2\n  197: Current Pending Sector Count  : 0\n  198: Uncorrectable Sector Count    : 0\nDevice stat: not supported\n```\nthis one isn't.\u003cbr\u003e\nand `Command Timeout: 2`, I need to watch out.\n\n#### TOSHIBA Consumer Grade SSD\n```\nDevice: TOSHIBA THNSNJ256GCSU (~~)\nCapacity: 238.47 GiB (256.06 GB)\nPower On: 0.41 years (3597 hours, 149.9 days, power cycle 406)\nSMART:\n    5: Reallocated Sectors Count     : 0\n  197: Current Pending Sector Count  : 0\nDevice stat:\n  Write: 1669.96 GiB (7.00 drive write)\n  Read:  1103.65 GiB\n  Read/Write Ratio:  0.66\n  Write per Year: 3.97 TiB/year\n  Write per Day: 11.14 GiB/day (0.047 DWPD)\n  Read per Year: 2.62 TiB/year\n  Read per Day: 7.36 GiB/day\n  Endurance Indicator: 1% used\n  Interface CRC Errors: 0\n```\nmany of modern SSD supports `Endurance Indicator`.\u003cbr\u003e\nT13 explain\n\u003e percentage of device life used based on the actual device usage and the manufacturer's prediction of device life.\n\u003cbr\u003e\n\n#### HGST Enterprise Grade HDD (old)\n```\nDevice: Hitachi HUA722010CLA330 (~~)\nCapacity: 931.51 GiB (1000.20 GB)\nPower On: 3.73 years (32713 hours, 1363.0 days, power cycle 50)\nSMART:\n    5: Reallocated Sectors Count     : 0\n  197: Current Pending Sector Count  : 0\n  198: Uncorrectable Sector Count    : 0\nDevice stat:\n  Write: 7.06 TiB (7.76 drive write)\n  Read:  212.98 TiB\n  Read/Write Ratio: 30.15\n  Write per Year: 1.89 TiB/year\n  Write per Day: 5.31 GiB/day (0.006 DWPD)\n  Read per Year: 57.03 TiB/year\n  Read per Day: 160.00 GiB/day\n  Read Recovery: 1441 corrected, 0 uncorrect\n  Interface CRC Errors: 0\n  Mechanical Start Failures: 4294967295\n```\nthis just about $25 at junk shop.\u003cbr\u003e\nover 30000 hours, but still operational.\u003cbr\u003e\nI need to be careful because of Mechanical-something looks wrong.\n\n## TODO\n\n- temperature stuff?\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsharow%2Fpoormon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsharow%2Fpoormon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsharow%2Fpoormon/lists"}