GetconfPageSize - command /usr/sbin/getconf PAGE_SIZE

This very simple parser returns the output of the getconf PAGE_SIZE command.

Examples

>>> pagesize_parsed.page_size
4096
class insights.parsers.getconf_pagesize.GetconfPageSize(context, extra_bad_lines=None)[source]

Bases: CommandParser

Class for parsing ‘getconf PAGE_SIZE’ command output

Output: page_size

page_size

returns the page_size in bytes depending upon the architecture

Type:

int

parse_content(content)[source]

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