mirror of https://github.com/shirou/gopsutil
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 fieldspull/160/head
parent
e04a02d2d7
commit
4438159155
Loading…
Reference in New Issue