time -h option not working?
viktorlazlo at telus.net
Thu Apr 3 19:28:26 PST 2003
On Fri, 4 Apr 2003, Carl Morley wrote:
> I just tried to use the time command to time a process, but with the -h
> (human readable) output option:
> Eg. time -h ping -c 5 some_ip_address
> But I get back:
> -h: Command not found.
> 0.000u 0.000s 0:00.00 0.0% 0+0k 0+0io 0pf+0w
> What am I doing wrong?
Nothing. The shell that you are using is calling a time builtin that
doesn't support the flag for the standard BSD utility. Try:
\time -h whatever
/usr/bin/time -h whatever
and it should work fine.
More information about the freebsd-questions