dmesg

package
v0.1.7 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package dmesg provides the functionality to poll the dmesg log.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseCtimeWithError

func ParseCtimeWithError(line []byte) (time.Time, error)

Parses the timestamp from "dmesg --ctime" output lines. Returns a zero time if the timestamp is not found or the timestamp is invalid. Returns an error if the timestamp is not found or the timestamp is invalid.

Types

This section is empty.

Jump to

Keyboard shortcuts

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