Fixes a bug where total memory was not properly calculated
upload check_apcups (authorized by author release) for addition of perf data processing.