make show_mem more robust (stopped working after updating to latest version of procps in Debian)