Portability | portable |
---|---|
Stability | experimental |
Safe Haskell | Safe-Inferred |
This module interfaces with the linux cgroup virtual filesystem to fetch various basic data. Note that this is an experimental iteration of the API, and subject to change.
Types
Contains a reference to the system cgroup. Typically this will be a system path in '/sys/fs/cgroups'
CGroups
allCGroups :: Bool -> IO [CGroup]Source
Produces a list of cgroups active on the system. Assumes '/proc/mounts' contains mounts on system.