Discover Packages
bitbucket.org/thomas_kinder/linux-server-stats
pkg
stats
package
Version:
v0.0.0
Opens a new window with list of versions in this module.
Published: May 12, 2023
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Returns the percentage of CPU being used
func NetworkStats() (int , int )
Returns the amount of received and transmitted bytes
accumulated since start of the machine across all
network interfaces except those in the list of
ignored interfaces.
Returns bits per second received and transmitted
across all interfaces, averaged over the given number
of seconds.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.