ganeti

Safe HaskellSafe-Infered

Ganeti.Storage.Diskstats.Parser

Contents

Description

Diskstats proc file parser

This module holds the definition of the parser that extracts status information about the disks of the system from the procdiskstats file.

Synopsis

Utility functions

skipSpaces :: Parser ()Source

numberP :: Parser IntSource

stringP :: Parser StringSource

Parser implementation

diskstatsParser :: Parser [Diskstats]Source

The parser for a whole diskstatus file.