systemd

package
v0.0.0-...-78a1b36 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2014 License: Apache-2.0 Imports: 14 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

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