ganeti
Safe HaskellNone

Ganeti.Cpu.LoadParser

Description

procstat file parser

This module holds the definition of the parser that extracts information about the CPU load of the system from the procstat file.

Synopsis

Parser implementation

oneCPUstatParser :: Parser CPUstat Source #

The parser for one line of the CPU status file.

intrFound :: Parser () Source #

When this is satisfied all the lines containing information about the CPU load are parsed.

cpustatParser :: Parser [CPUstat] Source #

The parser for the fragment of CPU status file containing information about the CPU load.