Lomanic
0d3a2ac515
[disk][linux] Fix comment in PartitionsWithContext
2019-02-22 19:31:08 +01:00
Lomanic
b67304da73
Merge pull request #634 from qaz52897/support_old_kernel
...
Support Linux kernels without /proc/self/mountinfo (<2.6.26)
2019-02-22 19:28:43 +01:00
shirou
9294781cc9
Merge pull request #636 from shirou/feature/update_xswdev_version_freebsd_12
...
[mem]freebsd: update xswdev_version to adapt FreeBSD 12.
2019-02-16 01:14:15 +09:00
shirou
b3d992b0f6
[mem]freebsd: update xswdev_version to adapt FreeBSD 12.
2019-02-10 23:19:06 +09:00
JHE
a08b926ce6
It could be another error than the "self/mountinfo" missing
2019-02-10 00:01:25 +08:00
JHE
06a21ae66a
Fix some issue.
2019-02-07 00:01:51 +08:00
JHE
a5cb715e64
if mountinfo not found, use mounts
2019-02-05 23:30:19 +08:00
JHE
d141349619
if mountinfo not found, use mounts
2019-02-05 21:23:46 +08:00
JHE
a45f6d8a03
if mountinfo not found, use mounts
2019-02-05 21:06:23 +08:00
shirou
0714469421
Merge pull request #593 from nvinzens/master
...
replace self/mounts with self/mountinfo
2019-02-01 00:11:21 +09:00
shirou
150e391450
Merge pull request #632 from shirou/add_freebsd_arm
...
add FreeBSD ARM support. copied from i386
2019-02-01 00:08:15 +09:00
shirou
64d607539e
add FreeBSD ARM support. copied from i386
2019-01-17 16:49:20 +09:00
shirou
7675aac4b0
Merge pull request #631 from shirou/add_created_time_on_windows_to_readme
...
add created_time on Windows to README
2019-01-15 10:39:27 +09:00
shirou
4a5a3cb6da
add created_time on Windows to README
2019-01-15 10:01:35 +09:00
Nico Vinzens
1a7a39a789
Merge branch 'master' into master
2019-01-14 09:53:05 +01:00
shirou
457f04671d
[process] move PageFaultsStat to process.go
2019-01-13 17:27:42 +09:00
shirou
98c84ed30a
[process]: move HWM to MemoryInfo
...
at least FreeBSD and Darwin has HWM.
2019-01-13 17:23:01 +09:00
shirou
a33a26bd97
Merge pull request #567 from tagirb/grouped_memorymaps
...
implement grouped memorymaps output
2019-01-13 17:17:11 +09:00
shirou
48b37fa45e
Merge pull request #616 from nefeli/linux_page_faults
...
[process][linux] Export process page fault info
2019-01-13 16:56:41 +09:00
shirou
d94da856e5
Merge pull request #624 from ajacoutot/cpu-openbsd
...
cpu: implement Mhz and Cores on OpenBSD
2019-01-13 16:53:29 +09:00
shirou
faf242fefc
Merge pull request #625 from wcc526/patch-1
...
Add VmHWM
2019-01-13 16:51:21 +09:00
chi-chi weng
ec5a8b2a50
Add VmHWM
...
VmHWM: Peak resident set size ("high water mark").
http://man7.org/linux/man-pages/man5/proc.5.html
2019-01-04 17:31:43 +08:00
Antoine Jacoutot
67297c8791
cpu: prefer cpuonline on OpenBSD
...
This gives us the value of actual online CPUs (as opposed to the
found ones which may not be able active).
2019-01-02 17:10:02 +01:00
Antoine Jacoutot
7276e963eb
cpu: implement Mhz and Cores
...
Adapted from the FreeBSD code.
Successfully tested with Nomad.
2019-01-02 17:06:46 +01:00
Lomanic
db425313bf
Merge pull request #623 from Lomanic/issue621
...
Fix #621 Add OpenBSD 6.4+ CPU States
2018-12-31 16:08:26 +01:00
Lomanic
56acda8a5b
[process][openbsd] Fix compilation on OpenBSD
2018-12-29 15:24:58 +01:00
Lomanic
5f8353c741
[cpu][openbsd] Fix #621 , define CPU states according to OpenBSD version
2018-12-29 15:24:52 +01:00
Lomanic
738b966ed1
[host][darwin] Use unix.Sysctl to get kernel version and platform name
2018-12-29 14:59:17 +01:00
Lomanic
8294f67566
[host][openbsd] Remove external calls to uname in PlatformInformation()
2018-12-29 14:56:23 +01:00
Lomanic
ccc1c1016b
[mem][darwin] Fix #622 include Inactive memory in total calculation in TestVirtual_memory
2018-12-25 21:55:58 +01:00
Lomanic
4104adff3e
[process][windows] Fix #466 add SeDebugPrivilege to current process
2018-12-22 19:30:50 +01:00
Lomanic
a5ace91cce
[process][windows] Propagate context internally
2018-12-20 23:41:38 +01:00
Lomanic
e5ca4477a1
[process][windows] WIP #586 use win32 API in process.Exe but fallback on WMI
...
This method only lets a 32bit program get other 32bit processes exe path
and a 64bit program get other 64bit processes exe path, so we fallback to
the slow (but kind of reliable) WMI calls if we can't access to the other
process module.
2018-12-20 23:16:25 +01:00
shirou
51e6519305
Merge pull request #619 from remeh/dm-name-trim
...
disk: trim the device mapper name.
2018-12-18 09:38:19 +09:00
Remy Mathieu
fda98ebc34
disk: trim the device mapper name.
...
While reading the value of the file with `ioutil.ReadFile`,
the name is suffixed with a `\n`
Tested on Ubuntu 18.10
2018-12-17 10:59:17 +01:00
shirou
d6b9922e03
Merge pull request #617 from mznet/master
...
SReclaimable should be summed to Cached Memory
2018-12-17 07:55:32 +09:00
David Naylor
414c76f159
[process][linux] Export process page fault info
...
Add a function for retrieving page fault counts from /proc/[pid]/stat on
Linux.
2018-12-13 16:19:40 -08:00
Minje Park
f9e238c38b
SReclaimable should be added to Cached Memory
2018-12-14 00:48:38 +09:00
shirou
cce2d16538
[process]: add missing argment to process_fallback.
2018-12-10 20:20:53 +09:00
Lomanic
eead265362
Merge pull request #611 from marcospedreiro/master
...
[cpu][windows] cpu.Times(true) should not return percent values
2018-12-09 18:35:30 +01:00
Lomanic
21ddb4f6d5
Merge pull request #605 from Lomanic/issue596
...
Fix #596 Implement process.Background and process.Foreground functions
2018-12-08 18:54:20 +01:00
Lomanic
8002bddf3f
Merge branch 'master' into issue596
2018-12-08 18:49:40 +01:00
shirou
35815938bf
Merge pull request #614 from joestringer/netns
...
[net][linux] Support socket tables in nested namespaces
2018-12-03 13:35:08 +09:00
Joe Stringer
f87d9813da
[net][linux] Support socket tables in nested namespaces
...
Signed-off-by: Joe Stringer <joe@cilium.io>
2018-11-27 10:16:31 -08:00
Lomanic
0f70a4a06f
Merge pull request #609 from Lomanic/windows-process-children
...
[process][windows] Use win32 API in process.Children() instead of slow WMI call
2018-11-24 15:38:04 +01:00
shirou
852c7686b5
Merge pull request #613 from tmm1/allow-a-b-windows-drives
...
do not ignore A: and B: drives on windows
2018-11-21 20:19:05 +09:00
Lomanic
3b882b034c
Merge pull request #612 from tmm1/fix-typo
...
fix minor typo in disk_windows
2018-11-21 00:05:00 +01:00
marcospedreiro
f0ebb60b86
handle pr comments: use assert.InEpsilon
2018-11-20 13:25:17 -08:00
Aman Gupta
d021425af3
do not ignore A: and B: drives on windows
...
from https://www.howtogeek.com/122891/what-are-the-windows-a-and-b-drives-used-for/
>if your computer does not have floppy disk drives, you can assign A and B to volumes
2018-11-20 13:09:36 -08:00
Aman Gupta
ab57d4a5fe
fix minor typo in disk_windows
2018-11-20 13:04:18 -08:00