Portability | portable |
---|---|
Stability | experimental |
Safe Haskell | Safe-Inferred |
System.Linux.Process.CGroup.VFS
Contents
Description
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'
Constructors
CheckedCGroup FilePath | |
SystemCGroup FilePath |
CGroups
allCGroups :: IO [CGroup]Source
Produces a list of cgroups active on the system. Assumes '/proc/mounts' contains mounts on system.