OdCpuDmaLatency - command /usr/bin/od -An -t d /dev/cpu_dma_latency

This module provides the class OdCpuDmaLatency which processes /usr/bin/od -An -t d /dev/cpu_dma_latency command output.

class insights.parsers.od_cpu_dma_latency.OdCpuDmaLatency(context, extra_bad_lines=None)[source]

Bases: CommandParser

Class for parsing the output of /usr/bin/od -An -t d /dev/cpu_dma_latency command.

Typical output of is:

2000000000
force_latency

A integer containing the value of force_latency.

Type:

int

Examples

>>> type(cpu_dma_latency)
<class 'insights.parsers.od_cpu_dma_latency.OdCpuDmaLatency'>
>>> cpu_dma_latency.force_latency
2000000000
parse_content(content)[source]

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