RandomEntropyAvail - File /proc/sys/kernel/random/entropy_avail
Parser for parsing the /proc/sys/kernel/random/entropy_avail
file.
- class insights.parsers.proc_random_entropy_avail.RandomEntropyAvail(context)[source]
Bases:
Parser
Class for parsing the
/proc/sys/kernel/random/entropy_avail
file.Sample input:
3137
- avail_entropy
the available entropy
- Type:
int
Examples
>>> type(random_entropy_obj) <class 'insights.parsers.proc_random_entropy_avail.RandomEntropyAvail'> >>> random_entropy_obj.avail_entropy 3137
- Raises:
SkipComponent -- when there is no expected content in the file