cgroup

package
v1.50.1 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2020 License: Apache-2.0 Imports: 8 Imported by: 85

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AvailableCPUs added in v1.50.0

func AvailableCPUs() int

AvailableCPUs returns the number of available CPU cores for the app.

func GetHierarchicalMemoryLimit added in v1.40.1

func GetHierarchicalMemoryLimit() int64

GetHierarchicalMemoryLimit returns hierarchical memory limit

func GetMemoryLimit

func GetMemoryLimit() int64

GetMemoryLimit returns cgroup memory limit

Types

This section is empty.

Jump to

Keyboard shortcuts

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