VmaRaEnabledS390x - file /sys/kernel/mm/swap/vma_ra_enabled

Parser to parse the output of file /sys/kernel/mm/swap/vma_ra_enabled

class insights.parsers.vma_ra_enabled_s390x.VmaRaEnabledS390x(context)[source]

Bases: Parser

Base class to parse /sys/kernel/mm/swap/vma_ra_enabled file, the file content will be stored in a string.

Sample output for file:

True

Examples

>>> type(vma)
<class 'insights.parsers.vma_ra_enabled_s390x.VmaRaEnabledS390x'>
>>> vma.ra_enabled
True
ra_enabled

The result parsed

Type

bool

Raises

SkipException -- When file content is empty

parse_content(content)[source]

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