memory monitoring

Monitor and collect memory and swap usage statistics.

source

get_memory_info

 get_memory_info ()

Get current memory usage information.

get_memory_info()
{'total': 98654470144,
 'available': 84322861056,
 'used': 14331609088,
 'percent': 14.5,
 'swap_total': 77309403136,
 'swap_used': 0,
 'swap_percent': 0.0}