Commit Graph

1346 Commits

Author SHA1 Message Date
Ozair Jr 0bab9611d2 Adding Slackware platform information 2018-07-25 10:17:08 -03:00
shirou d9d9688f3d
Merge pull request #556 from Lomanic/winmemtest
[mem][windows] Fix TestVirtual_memory test
2018-07-24 11:04:15 +09:00
shirou ffda3675ce
Merge pull request #557 from Lomanic/issue555
[disk][unix] Fix #555 Unescape escaped sequences in fstab path in disk.Usage
2018-07-24 10:59:49 +09:00
Lomanic 00bbeb757e [disk][unix] Fix #555 Unescape escaped sequences in fstab path in disk.Usage 2018-07-24 00:24:05 +02:00
pytimer 0ffcfc901f [net][windows] Remove exported types and convert ALL_CAPS to mixedCaps 2018-07-21 14:28:53 +08:00
pytimer 1c2cebbbc4 [net] Implements windows net package function Connections and ConnectionsPid 2018-07-21 14:21:22 +08:00
Lomanic 6b586d2fcd [mem][windows] Fix TestVirtual_memory test 2018-07-19 00:19:02 +02:00
Lomanic 6ddbb8c5d8 [process][windows] Reuse Ppid() in Parent(), don't use slow wmi call 2018-07-14 20:56:20 +02:00
Lomanic bb518e9c4e [host][windows] Remove exported wmi type from #550 2018-07-14 18:52:10 +02:00
Lomanic 97b2ed891d
Merge pull request #550 from pytimer/win_temperature
[host] Implement windows temperature use wmi
2018-07-14 18:38:17 +02:00
shirou 6b48f3bd01 [mem] fix test. 2018-07-13 23:34:38 +09:00
shirou 4f442dad38
Merge pull request #553 from elboulangero/master
Fix TestVirtual_memory #552
2018-07-13 23:33:29 +09:00
Arnaud Rebillout 558a95bf02 Fix TestVirtual_memory #552
Based on https://stackoverflow.com/a/30772733/776208

Signed-off-by: Arnaud Rebillout <arnaud.rebillout@collabora.com>
2018-07-12 13:05:28 +07:00
pytimer 62fcd00c4d [host] Implement windows temperature use wmi 2018-07-09 15:21:26 +08:00
shirou 63728fcf6b
Merge pull request #542 from gescheit/master
use full cmdline in case of proc renaming
2018-07-05 22:28:12 +09:00
shirou 634df1d455
Merge pull request #546 from Percona-Lab/support_for_unix_socket
Support for unix sockets in ConnectionsPid()
2018-07-05 22:09:29 +09:00
shirou 4923bd298a host: remove empty virtualzation check.
related to #547
There is an architecture which supports no virtualization.
2018-07-05 21:54:46 +09:00
Kamil Dziedzic b76d065dff
PMM-2643: Support listing unix sockets in ConnectionsPid and ConnectionsPidWithContext.
Signed-off-by: Kamil Dziedzic <arvenil@klecza.pl>
2018-07-03 16:57:21 +02:00
Lomanic 1c49dd8c6f
Merge pull request #544 from jsoriano/host-env-vars-disk-sn
Use HOST_* environment variables for getting disk serial number in Linux
2018-07-02 17:00:40 +02:00
Jaime Soriano Pastor 61902bc2a5 Use HOST_* environment variables for getting disk serial number in Linux 2018-07-02 10:04:57 +02:00
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
2018-06-25 10:11:43 +02:00
shirou 8563278a9d Revert "Merge pull request #541 from sify21/fix_435"
This reverts commit a9c2f23bc2, reversing
changes made to ebfe800cf9.
2018-06-24 00:46:27 +09:00
Lomanic 6c4f577e6e
Merge branch 'master' into winapihost 2018-06-23 16:44:14 +02:00
shirou 9937d4109d mem[linux]: fix test. 2018-06-23 23:38:51 +09:00
Aleksandr Balezin e2c79a1af7 use full cmdline in case of proc renaming 2018-06-23 17:17:39 +03:00
shirou a9c2f23bc2
Merge pull request #541 from sify21/fix_435
Implement disk.GetDiskSerialNumber for Windows via WMI
2018-06-23 22:23:30 +09:00
司芳源 1b641b25eb not export custom types 2018-06-22 16:18:18 +08:00
司芳源 98cd971621 wrong variable 2018-06-22 10:03:04 +08:00
司芳源 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. 2018-06-22 09:34:39 +08:00
Lomanic ebfe800cf9
Merge pull request #540 from mrostecki/err-check
Check for returned errors
2018-06-21 23:11:44 +02:00
Michal Rostecki 9d003ad2e1 net: Check for error object 2018-06-21 17:00:15 +02:00
Michal Rostecki 0225d9ddcc host: Check for error object 2018-06-21 16:58:40 +02:00
Michal Rostecki 91ac1d66ac process: Check for error objects 2018-06-21 16:53:53 +02:00
Michal Rostecki ff2e736f72 disk: Check for error objects returned by Getfsstat 2018-06-21 16:48:16 +02:00
Michal Rostecki 7c7dec96c6 cpu: Check for error object 2018-06-21 16:42:49 +02:00
Lomanic b488b2747e
Merge pull request #538 from shrug42/meminfo_fields
add additional linux meminfo fields
2018-06-21 11:18:54 +02:00
Shrug 42 6a38ce2069 fix json tags 2018-06-20 10:20:54 -07:00
Shrug 42 12fad953c1 added additional linux meminfo fields 2018-06-19 13:12:33 -07:00
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
2018-06-18 23:03:56 +02:00
Lomanic d8a6a50129 Revert "[host][windows] Refactor code to query registry via golang.org/x/sys/windows/registry"
This reverts commit c729bbd6a8.
2018-06-18 22:17:31 +02:00
Lomanic c729bbd6a8 [host][windows] Refactor code to query registry via golang.org/x/sys/windows/registry 2018-06-17 23:48:45 +02:00
Lomanic eb11fd6e2f [host][windows] Completely remove slow wmi calls to retrieve OS version, use registry and RtlGetVersion 2018-06-17 23:41:32 +02:00
shirou c23bcca55e
Merge pull request #535 from shirou/cast_stat_for_mips
disk[linux]: cast uint64 for build on MIPS
2018-06-13 17:40:40 +09:00
shirou d813235a11 disk[linux]: cast uint64 for build on MIPS
related: #533
2018-06-12 22:59:43 +09:00
Lomanic df331c7615 [host][windows] Use win32 API to get host's uptime instead of (slow) wmi 2018-06-10 18:30:22 +02:00
Lomanic bc5d02c9ac
Merge pull request #532 from jsoriano/serial-number-without-udevadm
Read disk model and serial from udev data or sysfs on Linux
2018-06-05 09:51:35 +02:00
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.
2018-06-01 13:57:18 +02:00
pytimer ca3c7ff69e [windows]services remove zsyscall_windows_ex.go file use golang/sys/windows QueryServiceStatusEx 2018-05-28 13:41:40 +08:00
pytimer 26add8e657 [windows]service: add windows service feature 2018-05-28 13:38:44 +08:00
Lomanic eeb1d38d69
Merge pull request #530 from ofek/patch-1
fix link
2018-05-24 08:32:40 +02:00