Matthieu MOREL
b673968d5d
enable errorlint linter
2021-12-04 22:29:38 +01:00
shirou
0969c9436b
delete v2 directory, move v3 to top #1078
2021-11-30 23:47:59 +00:00
Tom Barker
84a665b712
Add mem.SwapDevices() method.
2021-08-19 10:16:30 -04:00
Lomanic
4cfc60d68b
Merge pull request #928 from Lomanic/skip-tests-when-not-implemented
2020-09-06 13:33:31 +02:00
Tobias Klauser
62354ea032
Fix TestVirtual_memory on OpenBSD
...
On OpenBSD, the total is used + free + cached + inactive like on macOS.
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
2020-08-31 12:42:46 +02:00
Lomanic
ea86cbc3ff
[mem] Skip tests on non-implemented platforms #446
2020-08-29 18:39:50 +02:00
James Bebbington
16fdb92bfc
Add pgmajfault to data returned by vmstat on Linux
2020-05-25 17:15:30 +10:00
Minje Park
b7f9acbce8
add unreclaim metric, this closes #719
2019-07-20 23:42:39 +09:00
lootek
1cbb212a6b
Add pages in/out/fault statistics (as read from vmstat)
2019-04-25 09:32:59 +02:00
WAKAYAMA shirou
bb15c85289
[mem][freebsd]: add SysctlUint which can adapt both 32 and 64 bit
2019-03-16 21:43:15 +09:00
Lomanic
ccc1c1016b
[mem][darwin] Fix #622 include Inactive memory in total calculation in TestVirtual_memory
2018-12-25 21:55:58 +01:00
Minje Park
f9e238c38b
SReclaimable should be added to Cached Memory
2018-12-14 00:48:38 +09:00
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
2018-08-08 19:54:18 +09:00
Isida Zyun'iti
48da6ade9e
Fix FreeBSD total memory.
...
Like this.
FreeBSD: fix total memory giampaolo/psutil@bd9a58b bd9a58b2af
2018-08-07 10:42:15 +00:00
Lomanic
6b586d2fcd
[mem][windows] Fix TestVirtual_memory test
2018-07-19 00:19:02 +02:00
shirou
6b48f3bd01
[mem] fix test.
2018-07-13 23:34:38 +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
shirou
9937d4109d
mem[linux]: fix test.
2018-06-23 23:38:51 +09:00
Olivier Vielpeau
5b52fbbea5
[mem] Add commit-related stats to VirtualMemoryStat on Linux
2017-12-26 16:24:10 +01:00
James Nugent
d19ac24a84
mem: Skip TestVirtual_memory on Solaris
2017-03-15 08:10:23 -05:00
Maxime Mouial
4a1d5da977
Add 'SwapCached' to the VirtualMemoryStat informations on linux
2016-12-21 15:42:09 +01:00
Maxime Mouial
44e27c6972
Add Slab, Shared and PageTables metric for VirtualMemory under linux
2016-12-19 14:01:27 +01:00
kthommandra
1fd3a4dbad
Added the writeback, dirty and writebacktmp fields from /proc/meminfo on Linux
2016-08-16 05:13:14 -07:00
Shirou WAKAYAMA
4bb84648bf
JSON representation is renamed to fit Google JSON style, camelCase.
2016-03-23 10:52:46 +09:00
Johan Walles
4438159155
Document + add tests for for mem.VirtualMemory()
...
This change changes and documents the (previously undocumented) behavior of Used
to "RAM used by programs".
We also remove the undocumented and unused Shared field of that struct.
So with this change in place, the VirtualMemoryStruct contains:
* three human-consumable fields for Total, Used and Available memory
* one human-consumable UsedPercentage field
* a number of kernel specific fields
2016-02-21 20:56:11 +01:00
Shirou WAKAYAMA
13cd195a7e
change package name.
2014-12-30 22:09:05 +09:00
Shirou WAKAYAMA
1cb67eb4c2
merge 039b9defab
2014-12-27 23:43:18 +09:00
Shirou WAKAYAMA
a4671fcc2a
move subdirectories. refer to issue #24
2014-11-27 10:18:15 +09:00