tangetools/ramusage/ramusage

6 lines
102 B
Plaintext
Raw Normal View History

2016-10-03 18:55:13 +00:00
#!/bin/bash
/usr/bin/time -v "$@" 2>&1 |
grep 'Maximum resident set size' |
perl -pe 's/.*:\s//'