SyntaxFix
Write A Post
Hire A Developer
Questions
/usr/bin/time maybe does what you want, actually. Something like.
/usr/bin/time --format='(%Xtext+%Ddata %Mmax)'
See time(1) for details...