WcProc1Mountinfo - Command /usr/bin/wc -l /proc/1/mountinfo

Parser for parsing the output of command /usr/bin/wc -l /proc/1/mountinfo.

class insights.parsers.wc_proc_1_mountinfo.WcProc1Mountinfo(context)[source]

Bases: Parser

Provides the line counts of file /proc/1/mountinfo by parsing the output of command /usr/bin/wc -l /proc/1/mountinfo.

line_count

the line counts of file /proc/1/mountinfo

Type

int

Typical content looks like:

37 /proc/1/mountinfo

Examples

>>> type(wc_info)
<class 'insights.parsers.wc_proc_1_mountinfo.WcProc1Mountinfo'>
>>> wc_info.line_count
37
Raises
parse_content(content)[source]

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