Safe HaskellSafe-Infered



kvm resident set size collector

It collects the resident set size (RSS) for all kvm processes managed by Ganeti, i.e., the number of pages the process has in RAM. The value is obtained by taking the corresponding value from proc$pid/memstat.



dcName :: StringSource

The name of this data collector for the resident set size (RSS).

dcFormatVersion :: IntSource

The version number for the data format of this data collector.

dcVersion :: DCVersionSource

The version of this data collector.

dcCategory :: Maybe DCCategorySource

The category of this data collector.

dcKind :: DCKindSource

The kind of this data collector.

parsePid :: Monad m => String -> m IntSource

parseRss :: Monad m => String -> m IntSource

collectInstanceRSS :: String -> IO (Result (String, JSValue))Source

dcReport :: IO DCReportSource

The data exported by the data collector.