Commit Graph

1584 Commits (770026217560bdd8b941da6326c702d28a44c361)
 

Author SHA1 Message Date
shirou 7d13aa15fc
Merge pull request #895 from tklauser/freebsd-statvfs-type
Fix FreeBSD build with latest x/sys/unix
5 years ago
Tobias Klauser d5eecd689d Fix FreeBSD build with latest x/sys/unix
There was a breaking change in upstream golang.org/x/sys/unix which
changed the type of some Statvfs members, see #853. As it looks like
this change won't be reverted, adjust gopsutil to work with it and allow
to build against the latest version of x/sys/unix.
5 years ago
Guillaume Ballet baec973ff6 Fix stepping extraction 5 years ago
Guillaume Ballet 877e0a6603 more typo fixes 5 years ago
Guillaume Ballet 8968457048 fix typo 5 years ago
Guillaume Ballet 771601b292 use sysctl instead of parsing dmesg output 5 years ago
shirou b806400ff0
Merge pull request #894 from citruspi/improved-lxc-guest-discovery
LXC Guest Detection from Environ Procfile
5 years ago
Guillaume Ballet 9390667f0f
Update cpu/cpu_dragonfly.go
Co-authored-by: shirou <shirou.faw@gmail.com>
5 years ago
Mihir Singh 92d6df6d8f Attempted LXC guest detection from environ procfile 5 years ago
Guillaume Ballet 56d9e0b7be cpu: support for DragonflyBSD 5 years ago
Merwan Ouddane f459195bc0 [process][windows] implement suspending and resuming with ntdll library 5 years ago
Lomanic 6f7ec36749
Merge pull request #888 from Lomanic/issue853-pin-sys
[disk][freebsd] Work around #853, pin x/sys with dep to the hash just before upstream breaking change
5 years ago
Lomanic ca4849b710
Merge pull request #889 from Lomanic/issue832
[darwin][disk][host] Move C dependencies to satisfy go mod and have descriptive file names
5 years ago
Lomanic 5aca383d4f [disk][darwin][cgo] Rename C files dependencies to more descriptive names 5 years ago
Lomanic 42c6875555 [host][darwin][cgo] Fix #832 work around once-again broken go modules not including C files
Supersedes #885 by @afontaine
5 years ago
Lomanic e9ecebec5a [disk][freebsd] Work around #853, pin x/sys with dep to the hash just before upstream breaking change 5 years ago
Lomanic 663af789c0
Merge pull request #872 from renaynay/update-docs-cputimes
Update docs for TimesStat with correct time unit
5 years ago
Lomanic a901d160ca
Merge pull request #870 from renaynay/naming-consistency
Renamed variables storing `CLK_TCK` value for consistency across OSs
5 years ago
Lomanic a303ddc7d1
Merge pull request #880 from Lomanic/issue867
[process][darwin][nocgo] Fix #867 iterate on every lines returned by lsof to handle potential warnings
5 years ago
James Bebbington 16fdb92bfc Add pgmajfault to data returned by vmstat on Linux 5 years ago
Lomanic 42aec722ba
Merge pull request #878 from fancybits/android-loadavg
[load][linux] implement Avg() on top of sysinfo syscall when /proc/loadavg is not readable
5 years ago
Aman Gupta f42052bee7 [load][android] implement on top of sysinfo syscall 5 years ago
Lomanic 8f969117ab [process][darwin][nocgo] Fix #867 iterate on every lines returned by lsof to handle potential warnings 5 years ago
Lomanic c89193f22d
Merge pull request #857 from Gui13/fix_837
Do not cache boot time for linux. Fix #837
5 years ago
Lomanic b6c59f1e77
Merge pull request #862 from mxmauro/quick_cmdline_windows
Fixed slow command line retrieval on Windows
5 years ago
Lomanic c972b298b3
Merge pull request #876 from gtosh4/patch-1
Don't ignore context for io counters
5 years ago
Lomanic ee64e05b02
Merge pull request #869 from renaynay/master
Added check for `CLK_TCK` for darwin
5 years ago
gtosh4 936d3b27f1
Don't ignore context for io counters 5 years ago
renaynay 5e1b882e37
updated docs for TimesStat with correct time unit 5 years ago
renaynay 0e9462eed2
renamed CLK_TCK variables for consistency across OSs 5 years ago
renaynay d4985c9690
added check for CLK_TCK 5 years ago
Mauro Leggieri 7783e1d58e Added retrieval of OS platform to determine better a process platform. 5 years ago
Lomanic 987c949880
Merge pull request #864 from GameXG/master
fix #863 Swap.UsedPercent is inconsistent
5 years ago
GameXG 144c67833a
fix #863 Swap.UsedPercent is inconsistent 5 years ago
shirou a81cf97fce
Merge pull request #861 from Lomanic/issue391
[host][linux] Fix #391 retrieve sensors temps on OSes lacking hwmon
5 years ago
Mauro Leggieri 00957cfedc Fixed slow command line retrieval on Windows 5 years ago
shirou 93a90ccfca
Merge pull request #856 from juan-leon/delayacct-blkio-ticks-as-iowait
Provide an estimation of Iowait metric per process
5 years ago
Guillaume Bienkowski aeb3b6b1c7 Do not cache boot time for linux. Fix #837 5 years ago
JuanLeon Lahoz 426b5148e3 Provide an estimation of Iowait metric per process 5 years ago
shirou 53cec6b37e
Merge pull request #839 from tklauser/move-parse-funcs
net: move parseNetLine and parseNetAddr to net_unix.go
5 years ago
shirou 2df80f551a
Merge pull request #850 from Lomanic/issue846
[process][windows] Fix #846 use win32 API in disk.IOCounters() instead of slow WMI call returning wrong values
5 years ago
Lomanic f98100720e [process][windows] Fix #846 use win32 API in disk.IOCounters() instead of slow WMI call returning wrong values 5 years ago
shirou a3b23c5ccf
Merge pull request #834 from Helflym/master
net: add AIX support
5 years ago
shirou 0169511c59
Merge pull request #843 from shirou/feature/add_mac_build_on_circleci
add macos test on CircleCI.
5 years ago
shirou dbbf1edf12 add macos test on CircleCI. 5 years ago
Tobias Klauser 22d8ee41e5 net: move parseNetLine and parseNetAddr to net_unix.go
These funcs are only used in net_unix.go which is only compiled for
darwin and freebsd.
5 years ago
Lomanic 27358e8a2f
Merge pull request #840 from devopsext/correct_exit_code_pid_existence
[process][linux] make process.IsRunning() return nil error if process does not exist
5 years ago
Ilya Prudnikov f3598686cb Correct returned error (set to nil) in case process is not exist 5 years ago
Lomanic 8a5c10c292
Merge pull request #838 from tklauser/fix-TestHostInfoStat_String
host: fix TestHostInfoStat_String
5 years ago
Tobias Klauser 7bee6a934d host: fix TestHostInfoStat_String
TestHostInfoStat_String has been broken since kernelArch has been
introduced. Fix it.

Also adjust the error message to show the wanted string, aligned with
the gotten string so it's easier to spot differences.
5 years ago