Commit Graph

1149 Commits (8048a2e9c5773235122027dd585cf821b2af1249)
 

Author SHA1 Message Date
sada 8dd42707e2 windows: fix WithContext functions
set timeout only if parent context doesn't set.
7 years ago
Jaime Fullaondo 178e5ce997 [host] fix race condition to ret 7 years ago
shirou c432be29cc
Merge pull request #485 from cshunger/linux-temperature
Linux temperature
7 years ago
CHEVY S. HUNGERFORD 29f8dfa1ad fixing SensorKey output 7 years ago
CHEVY S. HUNGERFORD 1c4fa5628c giving temperature more verbose output 7 years ago
shirou 4ac6b5b4d3 Revert "Merge pull request #470 from improbable-io/bug-darwin-build-2"
This reverts commit bb09b4e7d9, reversing
changes made to 6a368fb7cd.
7 years ago
shirou bb09b4e7d9
Merge pull request #470 from improbable-io/bug-darwin-build-2
Fix build with bazel on OSX attempt 2 (add stub for host_cgo.go)
7 years ago
Tatiana Borisova 945c2f41de Fix host_cgo file 7 years ago
Tatiana Borisova a271cb7c1c Fix package name in host_cgo.go 7 years ago
shirou 6a368fb7cd [process]: add ProcessesWithContext. 7 years ago
shirou 079e1cb22f [internal]Windows: skip Host test. 7 years ago
shirou 2ae56c34ce
Merge pull request #480 from shirou/feature/add_context_support
Add WithContext functions.
7 years ago
shirou e776f6384a [docker]: fix typo. 7 years ago
shirou a97abd3450
Merge branch 'master' into feature/add_context_support 7 years ago
shirou d1fb05a30b Skip some test if CircleCI. 7 years ago
shirou 1958326a49 [docker]: fix re-declartion 7 years ago
shirou cd61c36c4f
Merge branch 'master' into feature/add_context_support 7 years ago
shirou 12199ad2d7
Merge pull request #481 from shirou/feature/use_basename_for_iocounters
[disk]linux: use basename such as sda1 for IOCounters
7 years ago
shirou e6205aaa77
Merge pull request #441 from shirou/feature/lxd_boot_time
[host] linux: change file if in a lxc container.
7 years ago
shirou 8b2468f1e7 Merge branch 'master' of github.com:shirou/gopsutil into feature/lxd_boot_time 7 years ago
shirou 231815dfea [docker]: move String() to docker.go for all platforms. 7 years ago
shirou 49e4d328f8
Merge pull request #471 from nkirsch/tgid_support
Add support for parsing the tgid (thread group id) field.
7 years ago
Nick Kirsch fb24c70d36 Add ErrNotImplementedError for Tgid support. 7 years ago
Nick Kirsch 6c35887d02 Add ErrNotImplementedError to Darwin, FreeBSD, and OpenBSD. 7 years ago
Nick Kirsch 482ca3af6d Parses the tgid field, which is the thread group id (aka user-space process id) on Linux. Returns error on other platforms. 7 years ago
shirou 756e91c8f5 [disk]linux: use basename such as sda1 for IOCounters 7 years ago
shirou 4c73494c78 Add WithContext functions. 7 years ago
Olivier Vielpeau 5b52fbbea5 [mem] Add commit-related stats to VirtualMemoryStat on Linux 7 years ago
Lomanic 7ec06ec280
Merge pull request #475 from Oxileo/issue442
Fix #442, trim sensor names and properly handle CentOS in host.SensorsTemperatures()
7 years ago
Lomanic e3ae39aa5b Fix #442, trim sensor names and properly handle CentOS in host.SensorsTemperatures() 7 years ago
Tatiana Borisova 1be443f398 Fix build attempt 3 (add stub for host_cgo.go) 7 years ago
shirou 27389f01ec
Merge pull request #459 from shirou/feature/implements_process_kill_on_windows
[process]windows: implements process.Kill using os/exec
7 years ago
shirou b8c456e534 Revert "Fix build with bazel on OSX"
This reverts commit 51c7c4013b.
7 years ago
shirou ab3d3b7f21
Merge pull request #467 from improbable-io/bugfix-darwin-build
Fix build with bazel on OSX
7 years ago
Tatiana Borisova 51c7c4013b Fix build with bazel on OSX 7 years ago
shirou 5c46042e0d
Merge pull request #461 from medzin/time-stat-doc
Add missing doc for cpu.TimesStat structure
7 years ago
Adam Medzinski 22f3299fd7
Add missing doc for cpu.TimesStat structure 7 years ago
shirou bfe3c2e8f4
Merge pull request #452 from leafnunes/master
prevent hang on pkg import if wmi.Query hangs
7 years ago
leaf 65598d98cc To prevent hang if wmi.Query hangs, add a context-aware wrapper for it. 7 years ago
WAKAYAMA shirou f5e19d7e16 [process]windows: implements process.Kill using os/exec 7 years ago
shirou 384a55110a
Merge pull request #458 from danielnelson/skip-not-exist
[net] linux: skip if not exist error on getProcInodesAll
7 years ago
shirou f7e6fc5972
Merge pull request #456 from Lomanic/windows-snapprocess
Use getFromSnapProcess to get process Name and Ppid on Windows instead of slow WMI
7 years ago
Daniel Nelson 6abd227e48
[net] linux: skip if not exist error on getProcInodesAll 7 years ago
shirou 234b6bc9b8
Merge pull request #455 from Lomanic/windows-enumprocesses
Use w32.EnumerateProcesses instead of slower wmi in windows process.Processes()
7 years ago
Lomanic 00bdebfce7 Use getFromSnapProcess to get process Name and Ppid on Windows instead of slow WMI 7 years ago
Lomanic da12f10f63 Use w32.EnumerateProcesses instead of slower wmi in windows process.Processes() 7 years ago
shirou a8bc262994
Merge pull request #454 from Lomanic/windows-enumprocesses
Handle case in Windows process.Pids() where buffer is too small to handle that many processes returned by w32.EnumProcesses
7 years ago
Lomanic c9a24cf2d0 Handle case in Windows process.Pids() where buffer is too small to handle that many processes returned by w32.EnumProcesses 7 years ago
shirou 699bd0f65a
Merge pull request #453 from Lomanic/windows-enumprocesses
Use w32.EnumProcesses to get pids on Windows in process.Pids()
7 years ago
Lomanic 0314bc81f3 Use w32.EnumProcesses to get pids on Windows in process.Pids() 7 years ago