Documentation ¶
Overview ¶
Package sysctl allows to change kernel parameters at runtime.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApplySettings ¶
ApplySettings applies all settings in sysSettings.
func GetProcfs ¶
func GetProcfs() string
GetProcfs returns the path set in procFs. Executing SetProcFs after GetProcfs might panic depending. See SetProcfs for more info.
Types ¶
type ErrInvalidSysctlParameter ¶
type ErrInvalidSysctlParameter string
An ErrInvalidSysctlParameter is returned when a parameter is invalid.
func (ErrInvalidSysctlParameter) Error ¶
func (e ErrInvalidSysctlParameter) Error() string
Click to show internal directories.
Click to hide internal directories.