systemd

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2014 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Apply

func Apply(c *cgroups.Cgroup, pid int) (cgroups.ActiveCgroup, error)

func Freeze

func Freeze(c *cgroups.Cgroup, state cgroups.FreezerState) error

func GetPids

func GetPids(c *cgroups.Cgroup) ([]int, error)

func GetStats added in v1.2.0

func GetStats(c *cgroups.Cgroup) (*cgroups.Stats, error)

* This would be nicer to get from the systemd API when accounting * is enabled, but sadly there is no way to do that yet. * The lack of this functionality in the API & the approach taken * is guided by * http://www.freedesktop.org/wiki/Software/systemd/ControlGroupInterface/#readingaccountinginformation.

func UseSystemd

func UseSystemd() bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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