{"id":13512330,"url":"https://github.com/Chris911/iStats","last_synced_at":"2025-03-30T22:32:34.873Z","repository":{"id":15978603,"uuid":"18721570","full_name":"Chris911/iStats","owner":"Chris911","description":"Ruby gem for your mac stats","archived":false,"fork":false,"pushed_at":"2023-01-29T19:26:57.000Z","size":293,"stargazers_count":2380,"open_issues_count":34,"forks_count":170,"subscribers_count":38,"default_branch":"master","last_synced_at":"2024-04-26T11:31:25.050Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://chris911.github.io/iStats/","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"googleanalytics/autotrack","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Chris911.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}},"created_at":"2014-04-13T04:35:52.000Z","updated_at":"2024-04-20T07:07:25.000Z","dependencies_parsed_at":"2023-02-16T00:45:38.047Z","dependency_job_id":null,"html_url":"https://github.com/Chris911/iStats","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/Chris911%2FiStats","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Chris911%2FiStats/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Chris911%2FiStats/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Chris911%2FiStats/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Chris911","download_url":"https://codeload.github.com/Chris911/iStats/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246390880,"owners_count":20769476,"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-08-01T03:01:44.169Z","updated_at":"2025-03-30T22:32:29.856Z","avatar_url":"https://github.com/Chris911.png","language":"Ruby","readme":"iStats [![Gem Version](https://badge.fury.io/rb/iStats.svg)](http://badge.fury.io/rb/iStats)\n======\n\niStats is a command-line tool that allows you to easily grab the CPU temperature, fan speeds and battery information on OS X. If you'd like to see more data available feel free to open an issue.\n\n## Installation\n\n    $ gem install iStats\n\n##### Note\nIf you are running an older version of OS X and the install fails you might want to try running this command instead:     \n`sudo ARCHFLAGS=-Wno-error=unused-command-line-argument-hard-error-in-future gem install iStats`\n\n## Screenshot\n#### All Stats\n![](http://i.imgur.com/c4xLB8u.png)\n\n#### Sparkline levels\n![](http://i.imgur.com/ht2NZCL.gif)\n\n## Usage\n\n```\n  - iStats: help ---------------------------------------------------\n\n  istats --help                        This help text\n  istats --version                     Print current version\n\n  # Commands\n  istats all                           Print all stats\n  istats cpu                           Print all CPU stats\n  istats cpu [temp | temperature]      Print CPU temperature\n  istats fan                           Print all fan stats\n  istats fan [speed]                   Print fan speed\n  istats battery                       Print all battery stats\n  istats battery [health]              Print battery health\n  istats battery [time | remain]       Print battery time remaining\n  istats battery [cycle_count | cc]    Print battery cycle count info\n  istats battery [temp | temperature]  Print battery temperature\n  istats battery [charge]              Print battery charge\n  istats battery [capacity]            Print battery capacity info\n\n  istats scan                          Scans and print temperatures\n  istats scan [key]                    Print single SMC temperature key\n  istats scan [zabbix]                 JSON output for Zabbix discovery\n  istats enable [key | all]            Enables key\n  istats disable [key | all]           Disable key\n  istats list                          List available keys\n\n  # Arguments\n  --no-graphs                          Don't display sparklines graphs\n  --no-labels                          Don't display item names/labels\n  --no-scale                           Display just the stat value\n  --value-only                         No graph, label, or scale\n  -f, --fahrenheit                     Display temperatures in fahrenheit\n\n  for more help see: https://github.com/Chris911/iStats\n```\n\n## Advanced usage\n\niStats now supports extra sensors for advanced users. Here's how to enable that functionality:\n\n1. Run `istats scan` to scan your computer for SMC sensors\n2. Enable extra sensors by running `istats enable key` or `istats enable all`\n3. Run `istats` or `istats extra` to see the extra sensors information.\n\n## Contributing\n\n1. Fork it\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Add some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create new Pull Request\n\n#### Tested on\n\n\u003cdetails\u003e\n  \u003csummary\u003eClick to expand\u003c/summary\u003e\n  \u003cp\u003e\n    \u003cbr\u003e\n    MacBook Pro 2016    \n    macOS: 10.12.6    \n    Ruby: 2.4.1    \n    \u003cbr\u003e\n    MacBook Pro 2011    \n    OS X: 10.11.6    \n    Ruby: 2.0.0    \n    \u003cbr\u003e\n    MacBook Pro 2012    \n    OS X: 10.9.3    \n    Ruby: 1.9.3, 2.0.0, 2.1.1    \n    \u003cbr\u003e\n    MacBook Pro 2014    \n    OS X: 10.10.3, 10.10.4    \n    Ruby: 2.1.3    \n    \u003cbr\u003e\n    Mac Pro 2013    \n    OS X: 10.12.6    \n    Ruby: 2.0.0\n  \u003c/p\u003e\n\u003c/details\u003e   \n\n#### Zabbix Integration\n\niStats has a \"scan zabbix\" mode which will emit JSON suitable for use with\n[Zabbix](https://zabbix.com/) low-level discovery.  See the accompanying\ntemplate and agent config in the `integrations` directory.\n","funding_links":[],"categories":["Ruby","Happy Exploring 🤘","其它实用工具","Utilities","macOS"],"sub_categories":["系统相关工具","System Related Tools","System Related"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FChris911%2FiStats","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FChris911%2FiStats","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FChris911%2FiStats/lists"}