freebsd-sysctl

freebsd-sysctl is a wrapper around sysctl system call for FreeBSD. It can be used, for example, in system monitors in StumpWM's mode line for tracking CPU temperature. Currently it can get/set sysctl variables, automatically detecting their formats, list sysctl nodes, etc.

Examples

Here is the documentation in a form of examples. ~~{.lisp} (freebsd-sysctl:sysctl-by-name "kern.hz") ;; >> 1000 ;; >> NIL