Commit Graph

26 Commits

Author SHA1 Message Date
Sean Chittenden d0e40ff723
Fix issues reported by golint. 2017-04-27 14:21:34 -07:00
Cameron Sparr a213bf5e6d
run go fmt ./... 2017-02-01 23:05:29 +00:00
Bruno Clermont 3f96312057 only run ifconfig/netstat if necessary, add some tests 2016-09-04 16:37:28 +02:00
Bruno Clermont 145e48efdb actually there is 13 columns, not 12 2016-08-31 20:41:42 +02:00
Bruno Clermont 57ffe3b1ef Support interface with multiple digits 2016-08-31 20:41:11 +02:00
Shirou WAKAYAMA 57f6aebc7e add Timeout to invoke command and use common.Invoke refs: #201 2016-05-20 17:59:41 +09:00
Shirou WAKAYAMA bce9212def fix build bugs. 2016-04-01 22:22:03 +09:00
Shirou WAKAYAMA 613a8a90e1 fixed by golint. 2016-04-01 21:34:39 +09:00
Shirou WAKAYAMA ea152ea901 [BREAKING CHANGE] rename functions to pass golint. ex) net.NetIOCounters -> net.IOCounters 2016-03-22 23:09:12 +09:00
Shirou WAKAYAMA d680853370 net,process[linux]: add process.NetIOCounter and net.NetIOCounterByFile. 2016-01-21 17:31:05 +09:00
Cameron Sparr 432bcbd056 Add -W flag to netstat on BSD systems
This prevents netstat from truncating the interface name to 5
characters. See https://github.com/influxdb/telegraf/issues/438
2015-12-15 08:27:15 -07:00
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
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 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 a4671fcc2a move subdirectories. refer to issue #24 2014-11-27 10:18:15 +09:00