tangetools/ramusage/ramusage
2016-10-03 20:55:13 +02:00

6 lines
102 B
Bash
Executable file

#!/bin/bash
/usr/bin/time -v "$@" 2>&1 |
grep 'Maximum resident set size' |
perl -pe 's/.*:\s//'