https://github.com/sersoft-gmbh/swift-sysctl
A Swift interface for `sysctl`
https://github.com/sersoft-gmbh/swift-sysctl
swift sysctl
Last synced: about 2 months ago
JSON representation
A Swift interface for `sysctl`
- Host: GitHub
- URL: https://github.com/sersoft-gmbh/swift-sysctl
- Owner: sersoft-gmbh
- License: apache-2.0
- Created: 2020-12-23T16:23:21.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2026-03-25T14:27:44.000Z (about 2 months ago)
- Last Synced: 2026-03-26T16:29:02.216Z (about 2 months ago)
- Topics: swift, sysctl
- Language: Swift
- Homepage: https://sersoft-gmbh.github.io/swift-sysctl/
- Size: 2.76 MB
- Stars: 9
- Watchers: 2
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# Swift Sysctl
[](https://github.com/sersoft-gmbh/swift-sysctl/releases/latest)

[](https://www.codacy.com/gh/sersoft-gmbh/swift-sysctl/dashboard?utm_source=github.com&utm_medium=referral&utm_content=sersoft-gmbh/swift-sysctl&utm_campaign=Badge_Grade)
[](https://codecov.io/gh/sersoft-gmbh/swift-sysctl)
[](https://sersoft-gmbh.github.io/swift-sysctl)
## Installation
Add the following dependency to your `Package.swift`:
```swift
.package(url: "https://github.com/sersoft-gmbh/swift-sysctl.git", from: "1.0.0"),
```
Or add it via Xcode (as of Xcode 11).
## Documentation
The API is documented using header doc. If you prefer to view the documentation as a webpage, there is an [online version](https://sersoft-gmbh.github.io/swift-sysctl) available for you.
## Contributing
If you find a bug / like to see a new feature there are a few ways of helping out:
- If you can fix the bug / implement the feature yourself please do and open a PR.
- If you know how to code (which you probably do), please add a (failing) test and open a PR. We'll try to get your test green ASAP.
- If you can do neither, then open an issue. While this might be the easiest way, it will likely take the longest for the bug to be fixed / feature to be implemented.
## License
See [LICENSE](./LICENSE) file.