Commit Graph

1784 Commits (120ab7fb0651b101f7ddeecf46889a6df58b9f6d)
 

Author SHA1 Message Date
Arnaud Rebillout 558a95bf02 Fix TestVirtual_memory #552
Based on https://stackoverflow.com/a/30772733/776208

Signed-off-by: Arnaud Rebillout <arnaud.rebillout@collabora.com>
pytimer 62fcd00c4d [host] Implement windows temperature use wmi
shirou 63728fcf6b
Merge pull request #542 from gescheit/master
use full cmdline in case of proc renaming
shirou 634df1d455
Merge pull request #546 from Percona-Lab/support_for_unix_socket
Support for unix sockets in ConnectionsPid()
shirou 4923bd298a host: remove empty virtualzation check.
related to #547
There is an architecture which supports no virtualization.
Kamil Dziedzic b76d065dff
PMM-2643: Support listing unix sockets in ConnectionsPid and ConnectionsPidWithContext.
Signed-off-by: Kamil Dziedzic <arvenil@klecza.pl>
Lomanic 1c49dd8c6f
Merge pull request #544 from jsoriano/host-env-vars-disk-sn
Use HOST_* environment variables for getting disk serial number in Linux
Jaime Soriano Pastor 61902bc2a5 Use HOST_* environment variables for getting disk serial number in Linux
Lomanic 4a180b209f
Merge pull request #537 from Lomanic/winapihost
[host][windows] Remove (slow) WMI calls, rely on registry or win32 API to get OS infos
shirou 8563278a9d Revert "Merge pull request #541 from sify21/fix_435"
This reverts commit a9c2f23bc2, reversing
changes made to ebfe800cf9.
Lomanic 6c4f577e6e
Merge branch 'master' into winapihost
shirou 9937d4109d mem[linux]: fix test.
Aleksandr Balezin e2c79a1af7 use full cmdline in case of proc renaming
shirou a9c2f23bc2
Merge pull request #541 from sify21/fix_435
Implement disk.GetDiskSerialNumber for Windows via WMI
司芳源 1b641b25eb not export custom types
司芳源 98cd971621 wrong variable
司芳源 facd46a4a5 Implement disk.GetDiskSerialNumber for Windows via WMI. Parameter should be drive letter, so it can be used in IOCountersStat. See last part of https://msdn.microsoft.com/en-us/library/windows/desktop/aa394592(v=vs.85).aspx.
Lomanic ebfe800cf9
Merge pull request #540 from mrostecki/err-check
Check for returned errors
Michal Rostecki 9d003ad2e1 net: Check for error object
Michal Rostecki 0225d9ddcc host: Check for error object
Michal Rostecki 91ac1d66ac process: Check for error objects
Michal Rostecki ff2e736f72 disk: Check for error objects returned by Getfsstat
Michal Rostecki 7c7dec96c6 cpu: Check for error object
Lomanic b488b2747e
Merge pull request #538 from shrug42/meminfo_fields
add additional linux meminfo fields
Shrug 42 6a38ce2069 fix json tags
Shrug 42 12fad953c1 added additional linux meminfo fields
Lomanic 61e2d92d95 [host][windows] Query registry via golang.org/x/sys/windows instead of golang.org/x/sys/windows/registry
See https://github.com/shirou/gopsutil/pull/312#issuecomment-277422612
Lomanic d8a6a50129 Revert "[host][windows] Refactor code to query registry via golang.org/x/sys/windows/registry"
This reverts commit c729bbd6a8.
Lomanic c729bbd6a8 [host][windows] Refactor code to query registry via golang.org/x/sys/windows/registry
Lomanic eb11fd6e2f [host][windows] Completely remove slow wmi calls to retrieve OS version, use registry and RtlGetVersion
shirou c23bcca55e
Merge pull request #535 from shirou/cast_stat_for_mips
disk[linux]: cast uint64 for build on MIPS
shirou d813235a11 disk[linux]: cast uint64 for build on MIPS
related: #533
Lomanic df331c7615 [host][windows] Use win32 API to get host's uptime instead of (slow) wmi
Lomanic bc5d02c9ac
Merge pull request #532 from jsoriano/serial-number-without-udevadm
Read disk model and serial from udev data or sysfs on Linux
Jaime Soriano Pastor f03124bf86 Read disk model and serial from udev data or sysfs on Linux
It reads model and serial data directly from files instead of using
`udevadm` command. This way obtaining the disk serial number doesn't
depend on command execution, and can be also possible even if udev or
udevadm are not available.
pytimer ca3c7ff69e [windows]services remove zsyscall_windows_ex.go file use golang/sys/windows QueryServiceStatusEx
pytimer 26add8e657 [windows]service: add windows service feature
Lomanic eeb1d38d69
Merge pull request #530 from ofek/patch-1
fix link
Ofek Lev 038eb06288
fix link
shirou cbf4fde152
Merge pull request #527 from geekerlw/fix-swap-total-empty
mem[windows]: if no swap, just return 0 used percent default
Steven Lee 3adcafe5fd mem[windows]: if no swap, just return 0 used percent default
shirou 0f1576d63c mem[windows]: if no swap, total and/or used is 0.
shirou 57f370e130 [disk]linux: fix test
shirou 6a55ce0958 [disk]linux: fix Getlabel
shirou 7c23d960dc
Merge pull request #519 from ofek/mapper
[disk][linux] add label based on devicemapper name of disk
Ofek Lev 0f8edaa97e address review
shirou c95755e4bc [host]darwin: remove GPL code
Ofek Lev 35ed9c11c7 [disk][linux] add label based on devicemapper name of disk
shirou 63047d776e
Merge pull request #509 from maddie/master
[host] linux/mips: mips64le definition from mipsle
shirou a5c2888e46
Merge pull request #512 from danielnelson/fix-vfs-bufspace-cannot-allocate-memory
Use uint64 sysctl when retrieving vfs.bufspace on FreeBSD