mirror of https://github.com/shirou/gopsutil
master
dependabot/go_modules/github.com/tklauser/go-sysconf-0.3.15
dependabot/go_modules/golang.org/x/sys-0.31.0
feat/add_nil_check_on_process_freebsd
dependabot/github_actions/actions/labeler-5.0.0
feature/fix_type_alias_warning
feature/add_linux_netlink
issue734
v2
v1
v2.16.10
v2.1
v2.0.0
1.0.0
0.9.9
v4.25.2
v4.25.1
v4.24.9
v4.24.8
v4.24.7
v4.24.6
v4.24.5
v4.24.12
v4.24.11
v4.24.10
v4.24.0-beta
v4.24.0-alpha.1
v3.24.5
v3.24.4
v3.24.3
v3.24.2
v3.24.1
v3.23.9
v3.23.8
v3.23.7
v3.23.6
v3.23.5
v3.23.4
v3.23.3
v3.23.2
v3.23.12
v3.23.11
v3.23.10
v3.23.1
v3.22.9
v3.22.8
v3.22.7
v3.22.6
v3.22.5
v3.22.4
v3.22.3
v3.22.2
v3.22.12
v3.22.10
v3.22.1
v3.21.9
v3.21.8
v3.21.7
v3.21.6
v3.21.5
v3.21.4
v3.21.3
v3.21.2
v3.21.12
v3.21.11
v3.21.10
v3.21.1
v3.20.12
v3.20.11
v3.20.10
v2.21.11
v2.20.9
v2.20.8
v2.20.7
v2.20.6
v2.20.5
v2.20.4
v2.20.3
v2.20.2
v2.20.1
v2.19.9
v2.19.8
v2.19.7
v2.19.6
v2.19.12
v2.19.11
v2.19.10
v2.19.05
v2.19.04
v2.19.03
v2.19.02
v2.19.01
v2.18.12
v2.18.11
v2.18.10
v2.18.07
v2.18.06
v2.18.05
v2.18.04
v2.18.03
v2.18.02
v2.18.01
v2.17.12
v2.17.11
v2.17.10
v2.17.09
v2.17.08
v2.17.07
v2.17.06
v2.17.05
v2.17.04
v2.17.03
v2.17.02
v2.17.01
v2.16.12
v2.16.11
push
${ noResults }
1 Commits (ea86cbc3ff56f87a4c1a404b74cf5828b73dbfcf)
Author | SHA1 | Message | Date |
---|---|---|---|
|
28890b0482 |
Use common implementation for BootTime/Uptime on all BSDs
All BSDs use the same implementation to get BootTime{,WithContext} and Uptime{,WithContext} based on the kern.boottime sysctl. Move this implementation to a separate host/host_bsd.go file shared by darwin, freebsd and openbsd. Also use SysctlTimeval to get the boot time directly as a type Timeval instead of manually extracting it using package unsafe. It will also allow for easier reuse to support package host on e.g. Dragonfly BSD or NetBSD. This requires updating the golang.org/x/sys/unix dependency to the latest revision. Signed-off-by: Tobias Klauser <tklauser@distanz.ch> |
5 years ago |