package
0.0.2
Repository: https://github.com/hmmftg/joefriday.git
Documentation: pkg.go.dev

# Packages

Package cpuutil handles Flatbuffer based processing of CPU (kernel) utilization information.
Package cpuutil handles JSON based processing of CPU (kernel) utilization information.

# Functions

Get returns the current cpu utilization using the package's global Profiler.
Returns an initialized Profiler; ready to use.
NewTicker returns a new Ticker containing a Data channel that delivers the data at intervals and an error channel that delivers any errors encountered.

# Structs

CPUUtil holds information about cpu, kernel, utilization.
Profiler is used to process the /proc/stats file and calculate Utilization information.
Ticker delivers the system's CPU utilization information at intervals.
Utilization holds kernel utilization information, as percentages, for a CPU.