adding memstat option to server