Commit Graph

1156 Commits (eb1f1ab16f2ef35f23024e10888dfdb5c17fcb92)
 

Author SHA1 Message Date
Lomanic eb1f1ab16f
Merge pull request #549 from pytimer/win_net
[net] Implements windows net package Connections and ConnectionsPid
7 years ago
Lomanic ef54649286 [windows] Use windows.NewLazySystemDLL to (possibly) prevent DLL hijacking
Might be useless because of https://docs.microsoft.com/en-us/windows/desktop/dlls/dynamic-link-library-search-order#search-order-for-desktop-applications
but better be safe than sorry.

Ref: https://github.com/shirou/gopsutil/issues/570#issuecomment-413951653
7 years ago
shirou 68ff0e2996
Merge pull request #566 from zyun-i/add_freebsd_mem_laundry
Add mem(laundry) numbers on FreeBSD.
7 years ago
Isida Zyun'iti bd7b2f8148 Add mem(laundry) numbers on FreeBSD.
After FreeBSD 11.1, mem number of cached replaced by laundry.

https://reviews.freebsd.org/D8302
7 years ago
Isida Zyun'iti 48da6ade9e Fix FreeBSD total memory.
Like this.
FreeBSD: fix total memory giampaolo/psutil@bd9a58b bd9a58b2af
7 years ago
shirou 8048a2e9c5 [disk] add an comment. 7 years ago
shirou 8b14be0b8b
Merge pull request #563 from tomekkolo/usedPercent_calculation_fix
Fixing calculation of UsedPercent.
7 years ago
Tomasz Kolodziej 8e2d09ee63 Removed unnecessary line 7 years ago
Tomasz Kolodziej 573f3336a4 Fixing calculation of UsedPercent.
Now it is calculated based of available disk space for user,
not including reserved space for root. This is compatible
with psutil and df command.
7 years ago
shirou c06610bac7
Merge pull request #561 from szaydel/szaydel/add-stub-for-solaris
Fix undefined process.Processes when building telegraf on Solaris-based system
7 years ago
shirou c5575382be
Merge pull request #558 from ozairjr/slackware-version
Adding Slackware platform information
7 years ago
Sam Zaydel 391d5ecf7d Fix undefined process.Processes when building telegraf on Solaris-based system 7 years ago
Ozair Jr 0bab9611d2 Adding Slackware platform information 7 years ago
shirou d9d9688f3d
Merge pull request #556 from Lomanic/winmemtest
[mem][windows] Fix TestVirtual_memory test
7 years ago
shirou ffda3675ce
Merge pull request #557 from Lomanic/issue555
[disk][unix] Fix #555 Unescape escaped sequences in fstab path in disk.Usage
7 years ago
Lomanic 00bbeb757e [disk][unix] Fix #555 Unescape escaped sequences in fstab path in disk.Usage 7 years ago
pytimer 0ffcfc901f [net][windows] Remove exported types and convert ALL_CAPS to mixedCaps 7 years ago
pytimer 1c2cebbbc4 [net] Implements windows net package function Connections and ConnectionsPid 7 years ago
Lomanic 6b586d2fcd [mem][windows] Fix TestVirtual_memory test 7 years ago
Lomanic 6ddbb8c5d8 [process][windows] Reuse Ppid() in Parent(), don't use slow wmi call 7 years ago
Lomanic bb518e9c4e [host][windows] Remove exported wmi type from #550 7 years ago
Lomanic 97b2ed891d
Merge pull request #550 from pytimer/win_temperature
[host] Implement windows temperature use wmi
7 years ago
shirou 6b48f3bd01 [mem] fix test. 7 years ago
shirou 4f442dad38
Merge pull request #553 from elboulangero/master
Fix TestVirtual_memory #552
7 years ago
Arnaud Rebillout 558a95bf02 Fix TestVirtual_memory #552
Based on https://stackoverflow.com/a/30772733/776208

Signed-off-by: Arnaud Rebillout <arnaud.rebillout@collabora.com>
7 years ago
pytimer 62fcd00c4d [host] Implement windows temperature use wmi 7 years ago
shirou 63728fcf6b
Merge pull request #542 from gescheit/master
use full cmdline in case of proc renaming
7 years ago
shirou 634df1d455
Merge pull request #546 from Percona-Lab/support_for_unix_socket
Support for unix sockets in ConnectionsPid()
7 years ago
shirou 4923bd298a host: remove empty virtualzation check.
related to #547
There is an architecture which supports no virtualization.
7 years ago
Kamil Dziedzic b76d065dff
PMM-2643: Support listing unix sockets in ConnectionsPid and ConnectionsPidWithContext.
Signed-off-by: Kamil Dziedzic <arvenil@klecza.pl>
7 years ago
Lomanic 1c49dd8c6f
Merge pull request #544 from jsoriano/host-env-vars-disk-sn
Use HOST_* environment variables for getting disk serial number in Linux
7 years ago
Jaime Soriano Pastor 61902bc2a5 Use HOST_* environment variables for getting disk serial number in Linux 7 years ago
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
7 years ago
shirou 8563278a9d Revert "Merge pull request #541 from sify21/fix_435"
This reverts commit a9c2f23bc2, reversing
changes made to ebfe800cf9.
7 years ago
Lomanic 6c4f577e6e
Merge branch 'master' into winapihost 7 years ago
shirou 9937d4109d mem[linux]: fix test. 7 years ago
Aleksandr Balezin e2c79a1af7 use full cmdline in case of proc renaming 7 years ago
shirou a9c2f23bc2
Merge pull request #541 from sify21/fix_435
Implement disk.GetDiskSerialNumber for Windows via WMI
7 years ago
司芳源 1b641b25eb not export custom types 7 years ago
司芳源 98cd971621 wrong variable 7 years ago
司芳源 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. 7 years ago
Lomanic ebfe800cf9
Merge pull request #540 from mrostecki/err-check
Check for returned errors
7 years ago
Michal Rostecki 9d003ad2e1 net: Check for error object 7 years ago
Michal Rostecki 0225d9ddcc host: Check for error object 7 years ago
Michal Rostecki 91ac1d66ac process: Check for error objects 7 years ago
Michal Rostecki ff2e736f72 disk: Check for error objects returned by Getfsstat 7 years ago
Michal Rostecki 7c7dec96c6 cpu: Check for error object 7 years ago
Lomanic b488b2747e
Merge pull request #538 from shrug42/meminfo_fields
add additional linux meminfo fields
7 years ago
Shrug 42 6a38ce2069 fix json tags 7 years ago
Shrug 42 12fad953c1 added additional linux meminfo fields 7 years ago