dmesgparser

package
v10.289.12+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 11, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Dmesg

type Dmesg struct {
	sync.Mutex
	// contains filtered or unexported fields
}

Dmesg struct handle for the dmesg parser

func New

func New() *Dmesg

New return an initialized Dmesg

func (*Dmesg) ParseDmesgOutput

func (d *Dmesg) ParseDmesgOutput(dmesgOutput string) ([]string, error)

ParseDmesgOutput will parse dmesg output

func (*Dmesg) RunDmesgCommand

func (d *Dmesg) RunDmesgCommand() ([]string, error)

RunDmesgCommand runs the Dmesg command to capture raw Dmesg output

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL