AvcCacheThreshold - File /sys/fs/selinux/avc/cache_threshold

This parser reads the content of /sys/fs/selinux/avc/cache_threshold.

class insights.parsers.avc_cache_threshold.AvcCacheThreshold(context, extra_bad_lines=None)[source]

Bases: insights.core.CommandParser

Class AvcCacheThreshold parses the content of the /sys/fs/selinux/avc/cache_threshold.

cache_threshold

It is used to show the value of cache threshold.

Type

int

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

512

Examples

>>> type(avc_cache_threshold)
<class 'insights.parsers.avc_cache_threshold.AvcCacheThreshold'>
>>> avc_cache_threshold.cache_threshold
512
parse_content(content)[source]

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