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

24 Commits

Author SHA1 Message Date
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).
2022-11-21 21:28:36 -07:00
mmorel-35
1e6b445a8a gofumpt 2021-12-22 21:54:41 +00:00
Matthieu MOREL
b673968d5d
enable errorlint linter 2021-12-04 22:29:38 +01:00
shirou
0969c9436b delete v2 directory, move v3 to top #1078 2021-11-30 23:47:59 +00:00
shirou
3d97fc18f4 add check if it runs on CI 2021-05-08 22:31:05 +09:00
shirou
c6bd05a3e9 relax net/NetIOCountersAll test.
It often fails in CI.
2021-05-08 21:25:16 +09:00
shirou
34412e0b7f [net] relax NetIOCounterAll test 2020-11-19 22:24:36 +09:00
Lomanic
ab084b525c [net] Skip tests on non-implemented platforms #446 2020-08-29 18:39:50 +02:00
Michal Rostecki
9d003ad2e1 net: Check for error object 2018-06-21 17:00:15 +02:00
Sean Chittenden
23a4ae3369
gofmt -s -w . 2017-04-27 14:40:43 -07:00
Jean Kahrs
d6f5a9e920 fix net_test.go 2016-10-06 15:46:14 +02:00
Jean Kahrs
98a0a30dca update test 2016-10-06 15:38:56 +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
Shirou WAKAYAMA
1f32ce1bb3 [net]linux: skip if "/proc/sys/net" is not exists on test environment. 2016-03-15 22:47:56 +09:00
Shirou WAKAYAMA
34b63e671b [net]linux: add a test and fix private field name. 2016-03-10 22:32:16 +09: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
Shirou WAKAYAMA
4d0f737301 net: because lsof failed on drone.io, skip TestNetConnections if CI. 2015-09-16 16:33: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