Guillaume Ballet
9390667f0f
Update cpu/cpu_dragonfly.go
...
Co-authored-by: shirou <shirou.faw@gmail.com>
2020-06-21 12:21:18 +02:00
Guillaume Ballet
56d9e0b7be
cpu: support for DragonflyBSD
2020-06-18 10:17:23 +02:00
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
2020-06-06 14:31:49 +02:00
Lomanic
ca4849b710
Merge pull request #889 from Lomanic/issue832
...
[darwin][disk][host] Move C dependencies to satisfy go mod and have descriptive file names
2020-06-06 11:55:04 +02:00
Lomanic
5aca383d4f
[disk][darwin][cgo] Rename C files dependencies to more descriptive names
2020-05-31 20:41:48 +02:00
Lomanic
42c6875555
[host][darwin][cgo] Fix #832 work around once-again broken go modules not including C files
...
Supersedes #885 by @afontaine
2020-05-31 20:40:36 +02:00
Lomanic
e9ecebec5a
[disk][freebsd] Work around #853 , pin x/sys with dep to the hash just before upstream breaking change
2020-05-31 20:36:42 +02:00
Lomanic
663af789c0
Merge pull request #872 from renaynay/update-docs-cputimes
...
Update docs for TimesStat with correct time unit
2020-05-31 17:11:28 +02:00
Lomanic
a901d160ca
Merge pull request #870 from renaynay/naming-consistency
...
Renamed variables storing `CLK_TCK` value for consistency across OSs
2020-05-31 17:01:13 +02:00
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
2020-05-31 10:18:36 +02:00
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
2020-05-21 18:14:56 +02:00
Aman Gupta
f42052bee7
[load][android] implement on top of sysinfo syscall
2020-05-20 16:47:15 -07:00
Lomanic
8f969117ab
[process][darwin][nocgo] Fix #867 iterate on every lines returned by lsof to handle potential warnings
2020-05-20 23:50:21 +02:00
Lomanic
c89193f22d
Merge pull request #857 from Gui13/fix_837
...
Do not cache boot time for linux. Fix #837
2020-05-17 22:47:08 +02:00
Lomanic
b6c59f1e77
Merge pull request #862 from mxmauro/quick_cmdline_windows
...
Fixed slow command line retrieval on Windows
2020-05-17 21:36:13 +02:00
Lomanic
c972b298b3
Merge pull request #876 from gtosh4/patch-1
...
Don't ignore context for io counters
2020-05-17 21:20:05 +02:00
Lomanic
ee64e05b02
Merge pull request #869 from renaynay/master
...
Added check for `CLK_TCK` for darwin
2020-05-17 21:11:00 +02:00
gtosh4
936d3b27f1
Don't ignore context for io counters
2020-05-16 17:06:26 -07:00
renaynay
5e1b882e37
updated docs for TimesStat with correct time unit
2020-05-13 11:21:01 +02:00
renaynay
0e9462eed2
renamed CLK_TCK variables for consistency across OSs
2020-05-12 15:36:18 +02:00
renaynay
d4985c9690
added check for CLK_TCK
2020-05-12 13:59:26 +02:00
Mauro Leggieri
7783e1d58e
Added retrieval of OS platform to determine better a process platform.
2020-05-04 20:16:05 -03:00
Lomanic
987c949880
Merge pull request #864 from GameXG/master
...
fix #863 Swap.UsedPercent is inconsistent
2020-05-04 23:43:44 +02:00
GameXG
144c67833a
fix #863 Swap.UsedPercent is inconsistent
2020-05-03 23:27:10 +08:00
shirou
a81cf97fce
Merge pull request #861 from Lomanic/issue391
...
[host][linux] Fix #391 retrieve sensors temps on OSes lacking hwmon
2020-05-01 22:02:23 +09:00
Mauro Leggieri
00957cfedc
Fixed slow command line retrieval on Windows
2020-04-30 22:44:43 -03:00
shirou
93a90ccfca
Merge pull request #856 from juan-leon/delayacct-blkio-ticks-as-iowait
...
Provide an estimation of Iowait metric per process
2020-04-15 22:59:17 +09:00
Guillaume Bienkowski
aeb3b6b1c7
Do not cache boot time for linux. Fix #837
2020-04-15 13:52:34 +02:00
JuanLeon Lahoz
426b5148e3
Provide an estimation of Iowait metric per process
2020-04-14 16:03:21 +02:00
shirou
53cec6b37e
Merge pull request #839 from tklauser/move-parse-funcs
...
net: move parseNetLine and parseNetAddr to net_unix.go
2020-03-14 22:36:25 +09:00
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
2020-03-14 17:23:15 +09:00
Lomanic
f98100720e
[process][windows] Fix #846 use win32 API in disk.IOCounters() instead of slow WMI call returning wrong values
2020-03-13 23:57:17 +01:00
shirou
a3b23c5ccf
Merge pull request #834 from Helflym/master
...
net: add AIX support
2020-03-01 09:40:00 +09:00
shirou
0169511c59
Merge pull request #843 from shirou/feature/add_mac_build_on_circleci
...
add macos test on CircleCI.
2020-02-26 07:51:02 +09:00
shirou
dbbf1edf12
add macos test on CircleCI.
2020-02-26 01:11:33 +09:00
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.
2020-02-25 10:05:37 +01:00
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
2020-02-16 19:10:08 +01:00
Ilya Prudnikov
f3598686cb
Correct returned error (set to nil) in case process is not exist
2020-02-16 19:03:32 +02:00
Lomanic
8a5c10c292
Merge pull request #838 from tklauser/fix-TestHostInfoStat_String
...
host: fix TestHostInfoStat_String
2020-02-13 19:54:10 +01:00
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.
2020-02-13 14:41:11 +01:00
Clément Chigot
77ff16c081
net: add AIX support
2020-02-10 11:22:52 +01:00
shirou
a9d510e7e5
Merge pull request #821 from devopsext/process_check_pid_exnistense_fix
...
Fix check pid existence when running in different process namespace (container)
2020-02-09 01:25:28 +09:00
shirou
33820ab930
Merge pull request #829 from xueweiz/mem
...
mem: collect Active(anon), Inactive(anon) and Unevictable
2020-02-01 18:54:16 +09:00
Xuewei Zhang
929068ccd5
mem: Add VirtualMemoryEx() and VirtualMemoryExWithContext()
2020-01-30 18:46:47 -08:00
Xuewei Zhang
3695635d09
Collect Active(anon), Inactive(anon) and Unevictable in /proc/meminfo
...
These fields helps people understand anonymous memory usage pattern.
2020-01-30 17:47:09 -08:00
Ilya Prudnikov
8dec3d81f3
Fix check pid existence when running in different process namespace (container)
2020-01-27 10:56:26 +02:00
shirou
0d7dd621d2
Merge pull request #826 from Lomanic/issue250iocounters
...
[process][windows] Use win32 API in process.IOCounters() instead of slow WMI call #250
2020-01-27 10:39:37 +09:00
Lomanic
1c8ddacaf7
[process][windows] Use win32 API in process.IOCounters() instead of slow WMI call #250
2020-01-26 21:14:23 +01:00
shirou
392f368142
add HOST_DEV environment variable to README.
2020-01-26 17:52:41 +09:00
shirou
dce23de000
Merge pull request #819 from devopsext/disk-fix_2.19.11
...
Fix for track disk stats when running in container
2020-01-26 17:52:06 +09:00