Mac OSX equal to linux time command What's binary that will give exact result for Linux's time command flags?

alias tcmd='/usr/bin/time \-f\ "CPU: %Us\tReal: %es\tRAM: %MKB"'


Current time in Mac OSX for command above is:

/usr/bin/time: illegal option -- f
usage: time [-lp] command.
Nevermind, found it:

brew install gnu-time


the command is gtime