Nathaniel Cook
da832b3f12
add system wide network protocol stats
2015-11-20 10:17:21 -07:00
Shirou WAKAYAMA
7288e9a5af
common[all]: add internal
2015-10-20 00:04:57 +09:00
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
2015-10-18 20:40:01 -07:00
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.
2015-10-17 11:34:41 -06:00
Shirou WAKAYAMA
93e226a5e3
net[freebsd,linux,darwin]: merge unix like OSes.
2015-10-11 21:57:53 +09:00
Shirou WAKAYAMA
34195b4b58
net[darwin, linux]: get UDP information when inet or all specified.
2015-10-11 21:48:48 +09:00
Shirou WAKAYAMA
b3cf7354f6
process[linux, darwin]: implements Connections using lsof.
2015-09-18 13:36:13 +09:00
Shirou WAKAYAMA
4d0f737301
net: because lsof failed on drone.io, skip TestNetConnections if CI.
2015-09-16 16:33:07 +09:00
Shirou WAKAYAMA
0062ae2bfa
use LookPath
2015-09-16 16:27:19 +09:00
Shirou WAKAYAMA
249a761b81
net[linux]: temporary enable error print.
2015-09-16 16:24:04 +09:00
Shirou WAKAYAMA
8d21be591e
net[linux]: implements NetConnections() using lsof.
2015-09-16 16:20:07 +09:00
Shirou WAKAYAMA
c50db4f462
net[darwin]: implement NetConnections().
2015-09-16 16:13:00 +09:00
Shirou WAKAYAMA
6bb6762470
net[darwin]: add drop count to NetIOCounter.
2015-09-11 12:18:33 +09:00
Shirou WAKAYAMA
e0b1d62a4d
net[darwin]: add netstat -idbn example in the comment.
2015-09-11 11:24:03 +09:00
Cameron Sparr
c57e866f91
Fix net stat reporting for Darwin
2015-09-10 13:53:53 -06:00
Shirou WAKAYAMA
b5ffc220a6
common: Rename StringContains to StringsContains and add StringsHas.
2015-07-21 15:25:04 +09:00
Shirou WAKAYAMA
3ff690d1d8
make single network interface about NetIOCounters on darwin and freebsd
2015-01-01 21:54:45 +09:00
Shirou WAKAYAMA
406cbe9b87
implements pernic of NetIOCounters.
2015-01-01 21:29:25 +09:00
Shirou WAKAYAMA
13cd195a7e
change package name.
2014-12-30 22:09:05 +09:00
Shirou WAKAYAMA
c348a399b0
merged 6e713f1469
2014-12-27 23:08:36 +09:00
WAKAYAMA Shirou
9f2c985a28
fix windows build.
2014-11-27 22:28:05 +09:00
WAKAYAMA shirou
d11680c773
fix bugs on FreeBSD.
2014-11-27 10:25:14 +09:00
Shirou WAKAYAMA
a4671fcc2a
move subdirectories. refer to issue #24
2014-11-27 10:18:15 +09:00