{"id":19495076,"url":"https://github.com/iglance/systemkit","last_synced_at":"2025-04-15T15:12:27.840Z","repository":{"id":128777795,"uuid":"237025190","full_name":"iglance/SystemKit","owner":"iglance","description":"macOS system library in Swift","archived":false,"fork":false,"pushed_at":"2020-12-27T10:06:46.000Z","size":196,"stargazers_count":5,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-15T15:12:21.977Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Swift","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/iglance.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":"2020-01-29T16:09:16.000Z","updated_at":"2023-03-18T19:37:15.000Z","dependencies_parsed_at":"2023-04-24T14:55:05.241Z","dependency_job_id":null,"html_url":"https://github.com/iglance/SystemKit","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/iglance%2FSystemKit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iglance%2FSystemKit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iglance%2FSystemKit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iglance%2FSystemKit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iglance","download_url":"https://codeload.github.com/iglance/SystemKit/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249094933,"owners_count":21211837,"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-11-10T21:35:58.664Z","updated_at":"2025-04-15T15:12:27.820Z","avatar_url":"https://github.com/iglance.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"SystemKit\n=========\n\nA macOS system library in Swift based off of\n[libtop](http://www.opensource.apple.com/source/top/top-100.1.2/libtop.c), from\nApple's top implementation.\n\n- For an example usage of this library, see\n  [dshb](https://github.com/beltex/dshb), a macOS system monitor in Swift\n- For other system related statistics in Swift for macOS, see\n  [SMCKit](https://github.com/beltex/SMCKit)\n\n\n### Requirements\n\n- [Xcode 8.3.3](https://developer.apple.com/xcode/downloads/)\n- macOS 10.9+\n    - This is due to Swift\n\n### Installation\n\n#### Carthage\n\n[Carthage](https://github.com/Carthage/Carthage) is a decentralized dependency manager that builds your dependencies and provides you with binary frameworks.\n\nYou can install Carthage with [Homebrew](http://brew.sh) using the following command:\n\n    $ brew update\n    $ brew install carthage\n\nTo integrate SystemKit into your Xcode project using Carhage, specify it in your Cartfile:\n\n    github \"beltex/SystemKit\"\n\nRun `carthage update` to build the framework and drag the built SystemKit.framework into your Xcode project.\nDon't forget to alter your Carthage [building phase for macOS](https://github.com/Carthage/Carthage#if-youre-building-for-os-x).\n\n### Example\n\nSample ouput from\n[example](https://github.com/beltex/SystemKit/blob/master/Example/main.swift).\n\n```\n// MACHINE STATUS\n\n-- CPU --\n  PHYSICAL CORES:  2\n  LOGICAL CORES:   2\n  SYSTEM:          10%\n  USER:            17%\n  IDLE:            71%\n  NICE:            0%\n\n-- MEMORY --\n  PHYSICAL SIZE:   7.75GB\n  FREE:            1.33GB\n  WIRED:           866MB\n  ACTIVE:          5.04GB\n  INACTIVE:        516MB\n  COMPRESSED:      0MB\n\n-- SYSTEM --\n  MODEL:           MacBookPro7,1\n  SYSNAME:         Darwin\n  NODENAME:        beltex.local\n  RELEASE:         13.4.0\n  VERSION:         Darwin Kernel Version 13.4.0: Sun Aug 17 19:50:11 PDT 2014...\n  MACHINE:         x86_64\n  UPTIME:          6d 21h 4m 38s\n  PROCESSES:       197\n  THREADS:         967\n  LOAD AVERAGE:    [3.18, 3.89, 3.99]\n  MACH FACTOR:     [0.436, 0.385, 0.322]\n\n-- POWER --\n  CPU SPEED LIMIT: 100.0%\n  CPUs AVAILABLE:  2\n  SCHEDULER LIMIT: 100.0%\n  THERMAL LEVEL:   Not Published\n\n-- BATTERY --\n  AC POWERED:      true\n  CHARGED:         true\n  CHARGING:        false\n  CHARGE:          100.0%\n  CAPACITY:        1675 mAh\n  MAX CAPACITY:    1675 mAh\n  DESGIN CAPACITY: 5450 mAh\n  CYCLES:          646\n  MAX CYCLES:      1000\n  TEMPERATURE:     30.0°C\n  TIME REMAINING:  0:45\n```\n\n\n### References\n\n- [top](http://www.opensource.apple.com/source/top/)\n- [hostinfo](http://www.opensource.apple.com/source/system_cmds/)\n- [vm_stat](http://www.opensource.apple.com/source/system_cmds/)\n- [PowerManagement](http://www.opensource.apple.com/source/PowerManagement/)\n- iStat Pro\n\n\n### License\n\nThis project is under the **MIT License**.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Figlance%2Fsystemkit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Figlance%2Fsystemkit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Figlance%2Fsystemkit/lists"}