Commit Graph

80 Commits (fec0b2fcc641a9a7cb490800be088566fc18b2c0)

Author SHA1 Message Date
sandlbn 480ccb89e1 Added support for linux net interface fifo errors
Shirou WAKAYAMA 4bb84648bf JSON representation is renamed to fit Google JSON style, camelCase.
Shirou WAKAYAMA ea152ea901 [BREAKING CHANGE] rename functions to pass golint. ex) net.NetIOCounters -> net.IOCounters
Shirou WAKAYAMA 34b63e671b [net]linux: add a test and fix private field name.
Shirou WAKAYAMA 31439aa6b5 [net]linux: fix valious bugs in NetConnections.
Shirou WAKAYAMA e4ddff09d5 [net]linux: add process_unix for NetConnections.
Shirou WAKAYAMA 32c62b5d48 [net]linux: implement processInet().
Shirou WAKAYAMA 6c352016d8 [net]linux: start replacing lsof. still work in progress.
Shirou WAKAYAMA d680853370 net,process[linux]: add process.NetIOCounter and net.NetIOCounterByFile.
Masayoshi Sekimura 3a1fa5dc80 format go program with go 1.5.2 "go fmt"
shirou f58654fa1c Merge pull request #122 from jimmystewpot/add_netfilter
Add nf_conntrack counter support
Matt Holcomb 21ccfe6b60 using HostProc for protocounters in linux
James Lamb 5700150054 Updated README.rst and included updated syntax to be more uniform with the other code
James Lamb 22f35fd518 add netfilter counter support
James Lamb dfff8af4df add nf_conntrack statistics to net_linux to query iptables/netfilter conntrack limits
Nathaniel Cook da832b3f12 add system wide network protocol stats
Daniel Theophanes 0af895258e common: rename package common to internal/common. Add ENV helper funcs.
Package common wasn't used for public functions. Place it in an
internal directory to prevent other packages from using.

Remove the distributed references to "HOST_PROC" and "HOST_SYS"
consts and combine into a common function. This also helps so that
if a env var is defined with a trailing slash all will continue to
work as expected.

Fixes #100
Jonathan Chauncey 0461c50666 chore(*): Fixes #94
Added the ability to fetch an alternative location for /proc via an
environment variable. If the env var is not set it will return /proc as
the default value.
Shirou WAKAYAMA 93e226a5e3 net[freebsd,linux,darwin]: merge unix like OSes.
Shirou WAKAYAMA 34195b4b58 net[darwin, linux]: get UDP information when inet or all specified.
Shirou WAKAYAMA b3cf7354f6 process[linux, darwin]: implements Connections using lsof.
Shirou WAKAYAMA 0062ae2bfa use LookPath
Shirou WAKAYAMA 249a761b81 net[linux]: temporary enable error print.
Shirou WAKAYAMA 8d21be591e net[linux]: implements NetConnections() using lsof.
Shirou WAKAYAMA c50db4f462 net[darwin]: implement NetConnections().
Shirou WAKAYAMA 406cbe9b87 implements pernic of NetIOCounters.
Shirou WAKAYAMA 13cd195a7e change package name.
Shirou WAKAYAMA c348a399b0 merged 6e713f1469
WAKAYAMA shirou d11680c773 fix bugs on FreeBSD.
Shirou WAKAYAMA a4671fcc2a move subdirectories. refer to issue #24