package
Version:
v0.0.0-...-fa37e54
Opens a new window with list of versions in this module.
Published: Sep 9, 2019
License: GPL-3.0
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
BootTime returns timestamps when machine was started
CPUTick returns the total number of Jiffies
ClockTicks returns ticks per clock cycle
CmdFromPID returns cmd which initiated the process
GetRAMMemoryInfo returns memory information of RAM
func NumberCPUCores() (n int)
NumberCPUCores returns number of CPU cores
TimeOfDay returns current time-stamp
func UIDFromPID(pid int) (uid int)
UIDFromPID returns user id (UID) for a given process id (PID)
PIDInfo is a collection of properties for a process
InfoFromPid returns used time (int) and command (string)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.