Registry / utility / sysctl

sysctl

JSON →
library0.7.1rscratesunverified

Simplified interface to libc::sysctl

utility
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

use sysctl::Sysctl;

Read a sysctl MIB value by name.

use sysctl::Sysctl; fn main() { let sys = sysctl::Sysctl::new("kern.hostname").unwrap(); println!("{:?}", sys.value_string()); }
Debug
Known footguns
gotchaOnly works on Unix-like systems with sysctl support (e.g., macOS, FreeBSD).
Upgrade
Version history

Breaking-change detection hasn't run for this library yet.

Audit
Security & dependencies

CVE tracking and dependency tree are planned for a later release.

Agent activity
0 hits · last 30 days

No traffic data recorded yet.

Resources