func MemoryUsage() float64 {
	meminfo.Update()

	total := meminfo.Total()
	if total == 0 { // don't divide by 0
		return 0.0
	}
	return float64(meminfo.Used()) / float64(total)
}
// MemoryUsage usage returns used to total memory ratio
MemoryUsage usage returns used to total memory ratio
// MemoryUsage usage returns used to total memory ratio
func MemoryUsage() float64 {
	meminfo.Update()
	total := meminfo.Total()
	if total == 0 { 
		return 0.0
	}
	return float64(meminfo.Used()) / float64(total)
}
func MemoryUsage ( ) float64 { meminfo . Update ( ) total := meminfo . Total ( ) if total == 0 { return 0.0 } return float64 ( meminfo . Used ( ) ) / float64 ( total ) }
MemoryUsage usage returns used to total memory ratio
MemoryUsage usage returns used to total memory ratio
// don't divide by 0