fix memory output for OpenBSD