proc

package
v0.0.0-...-f307310 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2015 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CachedNumRemoteTcpConns

func CachedNumRemoteTcpConns(host string) int

CachedNumRemoteTcpConns retrieves the number of established tcp connections for a remote host from the cache. Host argument should be of the form host:port

func CachedRemoteTcpConns

func CachedRemoteTcpConns() map[string]int

CachedRemoteTcpConns returns a map containing the number of tcp connections for all remote hosts connected to by this process.

func NumRemoteTcpConns

func NumRemoteTcpConns(host string) int

NumRemoteTcpConns forces a cache update and retrieves the number of established tcp connections for a remote host. Host argument should be of the form host:port

func RemoteTcpConns

func RemoteTcpConns() map[string]int

RemoteTcpConns forces a cache update and returns a map containing the number of tcp connections for all remote hosts connected to by this process.

func RunCacheLoader

func RunCacheLoader()

RunCacheLoader starts the cache loader in a background routine

Types

This section is empty.

Jump to

Keyboard shortcuts

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