package
6.8.16+incompatible
Repository: https://github.com/tencentblueking/beats.git
Documentation: pkg.go.dev

# Functions

GetOwnResourceUsageTimeInMillis return the user and system CPU usage time in milliseconds.
GetProcCPUPercentage returns the percentage of total CPU time consumed by the process during the period between the given samples.
No description provided by the author
GetSelfPid returns the PID for this process.
No description provided by the author

# Variables

NumCPU is the number of CPUs of the host.

# Structs

IncludeTopConfig is the configuration for the "top N processes filtering" feature.
Process is the structure which holds the information of a process running on the host.
Stats stores the stats of processes on the host.
Ticks of CPU for a process.

# Type aliases

ProcsMap is a map where the keys are the names of processes and the value is the Process with that name.