BDIReadAheadKB - file /sys/class/bdi/*/read_ahead_kb

This parser reads the content of /sys/class/bdi/*/read_ahead_kb.

class insights.parsers.bdi_read_ahead_kb.BDIReadAheadKB(context)[source]

Bases: Parser

Class BDIReadAheadKB parses the content of the /sys/class/bdi/*/read_ahead_kb.

Raises:

ParseException -- When content is empty or unparseable

A typical sample of the content of this file looks like:

128

Examples

>>> type(bdi_read_ahead_kb)
<class 'insights.parsers.bdi_read_ahead_kb.BDIReadAheadKB'>
>>> bdi_read_ahead_kb.read_ahead_kb
128
parse_content(content)[source]

This method must be implemented by classes based on this class.

property read_ahead_kb

Value of read_ahead_kb.

Type:

int