Documentation ¶
Index ¶
- func ActiveUsers() []*user.User
- func CurrentUser() ([]map[string]string, error)
- func GetCPUmodel() (string, error)
- func GetCPUname() (string, error)
- func GetDrives() ([]disk.PartitionStat, error)
- func GetTCPConnections() ([]netstat.SockTabEntry, error)
- func GetUDPConnections() ([]netstat.SockTabEntry, error)
- func PrintProcDetails(procs [][]string)
- func PrintProcSummary(procs [][]string)
- func PrintProcessTree()
- func Procs() ([][]string, error)
- type OSinfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CurrentUser ¶
CurrentUser returns the current user
func GetCPUmodel ¶
GetCPUmodel returns the target system's CPU model
func GetDrives ¶
func GetDrives() ([]disk.PartitionStat, error)
GetDrives iterates through the alphabet to return a list of mounted drives
func GetTCPConnections ¶
func GetTCPConnections() ([]netstat.SockTabEntry, error)
GetTCPConnections returns a slice describing TCP connections
func GetUDPConnections ¶
func GetUDPConnections() ([]netstat.SockTabEntry, error)
GetUDPConnections returns a slice describing UDP connections
func PrintProcDetails ¶
func PrintProcDetails(procs [][]string)
PrintProcDetails provides detailed process information in a list
func PrintProcSummary ¶
func PrintProcSummary(procs [][]string)
PrintProcSummary provides summarized process information in a table
Types ¶
Click to show internal directories.
Click to hide internal directories.