Skip to content

A basic read-only interface to the FreeBSD (and Darwin) sysctl(3)

License

Notifications You must be signed in to change notification settings

blabber/go-freebsd-sysctl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 

Repository files navigation

Package sysctl provides a basic read-only interface to the FreeBSD sysctl(3)
library.

It allows you to retrieve int64 and string values. Tables are not supported.

     GetInt64("hw.ncpu")	// get the number of active CPUs
     GetString("kern.hostname")	// get the hostname

About

A basic read-only interface to the FreeBSD (and Darwin) sysctl(3)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages