1
0
mirror of https://github.com/shirou/gopsutil.git synced 2025-04-29 13:49:21 +08:00

19 Commits

Author SHA1 Message Date
Kamil Dziedzic
b76d065dff
PMM-2643: Support listing unix sockets in ConnectionsPid and ConnectionsPidWithContext.
Signed-off-by: Kamil Dziedzic <arvenil@klecza.pl>
2018-07-03 16:57:21 +02:00
Laurie Clark-Michalek
413cb32b6c Use static initialisation for invoke instances, instead of init funcs
The order of init function execution is dependant on the order that the
source files are passed to the compiler. This causes issues when
building under other build systems, such as bazel or buck, as they are
not guarenteed to maintain the same file order as the default go tool.
2018-03-21 14:08:39 +00:00
shirou
4c73494c78 Add WithContext functions. 2017-12-31 15:25:49 +09:00
Jean Kahrs
cba0992ab3 add Uids field to net_linux 2016-10-06 14:50:03 +02:00
sandlbn
480ccb89e1 Added support for linux net interface fifo errors 2016-06-13 13:27:25 +01:00
Shirou WAKAYAMA
4bb84648bf JSON representation is renamed to fit Google JSON style, camelCase. 2016-03-23 10:52:46 +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
Masayoshi Sekimura
3a1fa5dc80 format go program with go 1.5.2 "go fmt" 2016-01-09 16:17:21 -08:00
James Lamb
a9e946c7dd change the snakecase to reflect the files being read 2015-12-09 07:49:20 +11:00
James Lamb
5700150054 Updated README.rst and included updated syntax to be more uniform with the other code 2015-12-09 07:45:26 +11:00
James Lamb
22f35fd518 add netfilter counter support 2015-12-08 09:32:45 +11:00
James Lamb
dfff8af4df add nf_conntrack statistics to net_linux to query iptables/netfilter conntrack limits 2015-12-07 16:56:02 +11:00
Nathaniel Cook
da832b3f12 add system wide network protocol stats 2015-11-20 10:17:21 -07: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
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
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