netstat

package
v0.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 14, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NetStats

type NetStats map[string]int64

NetStats is a mapping from stat name to value

func GetStats

func GetStats(rootFs string, pid int) (NetStats, error)

GetStats returns every netstat from /proc/net/(netstat|snmp|snmp6)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL