Commit Graph

12 Commits (5f158096beb5bf6a8fcd670ef73f27fa50f2ca41)

Author SHA1 Message Date
shirou 5f158096be fix: golangci lint with max -> maxConn
shirou bc060cc227 add SPDX License, remove old build tag, and replace import
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).
mmorel-35 1e6b445a8a gofumpt
shirou 0969c9436b delete v2 directory, move v3 to top #1078
Clément Chigot 77ff16c081 net: add AIX support
Brian C. Williams f00df5cffe Add WithoutUids funcs
Curtis Mattoon 648bf4eebc Adds ConntrackStats to get conntrack summary stats
shirou 4c73494c78 Add WithContext functions.
Conor Branagan df61ef6d5f Add stub functions for ConnectionsMax in other OS versions.
Marco Pfatschbacher b4846b445b Add support for OpenBSD/amd64
This code is based on the FreeBSD version
and implements roughly the same feature set.
Lukas Fittl da9fa1162b Add fallback code for all unsupported operating systems.
This enables using gopsutil in a codebase that gets built on other OSes
than the ones supported. Instead of a build failure as before, due to
the build tags, gopsutil will now throw an "not implemented" runtime
error.

Fixes #234.