Commit Graph

27 Commits (master)

Author SHA1 Message Date
Matthieu MOREL 30aff030d0 chore(golangci-lint): GOOS and GOARCH matrix
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
3 weeks ago
shirou e9591b5b01 rename redundant test function names, such as TestCPU in cpu package 10 months ago
shirou bc060cc227 add SPDX License, remove old build tag, and replace import 10 months ago
Steve Zhang cf62eac8f9 The current codes miss below statistic data under solaris/illumos:
1. the disk io statistic data as: nread, nwritten, reads, writes, rtime, wtime;
2. the free memory under global zone;
3. the net io statistic data as: rbytes64, ipackets64, idrops64, ierrors, obytes64, opackets64, odrops64, oerrors.

The new feature branch adds the above missing statistic data based on the psutil project (https://psutil.readthedocs.io/), it has been tested under solaris ( Oracle Solaris 11.4 X86) and illumos (OmniOS v11 r151044).
2 years ago
mmorel-35 1e6b445a8a gofumpt 3 years ago
Matthieu MOREL b673968d5d
enable errorlint linter 3 years ago
shirou 0969c9436b delete v2 directory, move v3 to top #1078 3 years ago
shirou 3d97fc18f4 add check if it runs on CI 4 years ago
shirou c6bd05a3e9 relax net/NetIOCountersAll test.
It often fails in CI.
4 years ago
shirou 34412e0b7f [net] relax NetIOCounterAll test 4 years ago
Lomanic ab084b525c [net] Skip tests on non-implemented platforms #446 5 years ago
Michal Rostecki 9d003ad2e1 net: Check for error object 7 years ago
Sean Chittenden 23a4ae3369
`gofmt -s -w .` 8 years ago
Jean Kahrs d6f5a9e920 fix net_test.go 9 years ago
Jean Kahrs 98a0a30dca update test 9 years ago
sandlbn 480ccb89e1 Added support for linux net interface fifo errors 9 years ago
Shirou WAKAYAMA 4bb84648bf JSON representation is renamed to fit Google JSON style, camelCase. 9 years ago
Shirou WAKAYAMA ea152ea901 [BREAKING CHANGE] rename functions to pass golint. ex) net.NetIOCounters -> net.IOCounters 9 years ago
Shirou WAKAYAMA 1f32ce1bb3 [net]linux: skip if "/proc/sys/net" is not exists on test environment. 9 years ago
Shirou WAKAYAMA 34b63e671b [net]linux: add a test and fix private field name. 9 years ago
James Lamb dfff8af4df add nf_conntrack statistics to net_linux to query iptables/netfilter conntrack limits 9 years ago
Nathaniel Cook da832b3f12 add system wide network protocol stats 9 years ago
Shirou WAKAYAMA 4d0f737301 net: because lsof failed on drone.io, skip TestNetConnections if CI. 10 years ago
Shirou WAKAYAMA c50db4f462 net[darwin]: implement NetConnections(). 10 years ago
Shirou WAKAYAMA 406cbe9b87 implements pernic of NetIOCounters. 10 years ago
Shirou WAKAYAMA 13cd195a7e change package name. 10 years ago
Shirou WAKAYAMA a4671fcc2a move subdirectories. refer to issue #24 10 years ago