sysctl

package
v0.10.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 25, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package systcl contains utility functions to read and write sysctl configuration on Linux.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnsureSysctlNetValue

func EnsureSysctlNetValue(sysctl string, value int) error

func GetSysctlNet

func GetSysctlNet(sysctl string) (int, error)

GetSysctlNet returns the value for sysctl net.* settings

func SetSysctlNet

func SetSysctlNet(sysctl string, newVal int) error

SetSysctlNet modifies the specified sysctl nt.* settings to the new value

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL