package
1.0.8
Repository: https://github.com/kent007/linux-inspect.git
Documentation: pkg.go.dev

# Functions

GetDiskstats reads '/proc/diskstats'.
GetIOByPID reads '/proc/$PID/io' data.
GetLoadAvg reads '/proc/loadavg'.
GetNetDev reads '/proc/net/dev'.
GetNetTCPByPID reads '/proc/$PID/net/tcp(6)' data.
GetProgram returns the program name.
GetStatByPID reads '/proc/$PID/stat' data.
GetStatusByPID reads '/proc/$PID/status' data.
GetUptime reads '/proc/uptime'.
ListFds reads '/proc/*/fd/*' to grab process IDs.
ListPIDs reads all PIDs in '/proc'.

# Constants

No description provided by the author
No description provided by the author

# Variables

DiskStatSchema represents '/proc/diskstats'.
IOSchema represents 'proc/$PID/io'.
LoadAvgSchema represents '/proc/loadavg'.
NetDevSchema represents '/proc/net/dev'.
NetTCPSchema represents '/proc/net/tcp' and '/proc/net/tcp6'.
StatSchema represents '/proc/$PID/stat'.
StatusSchema represents 'proc/$PID/status'.
UptimeSchema represents '/proc/uptime'.

# Structs

DiskStat is '/proc/diskstats' in Linux.
IO is '/proc/$PID/io' in Linux.
LoadAvg is '/proc/loadavg' in Linux.
NetDev is '/proc/net/dev' in Linux.
NetTCP is '/proc/net/tcp', '/proc/net/tcp6' in Linux.
Stat is '/proc/$PID/stat' in Linux.
Status is '/proc/$PID/status' in Linux.
Uptime is '/proc/uptime' in Linux.

# Type aliases

TransportProtocol is tcp, tcp6.