time -h option not working?

Carl Morley bsdmn at webize.com.au
Thu Apr 3 18:53:09 PST 2003



# -----Original Message-----
# From: owner-freebsd-questions at freebsd.org [mailto:owner-freebsd-
# questions at freebsd.org] On Behalf Of Giorgos Keramidas
# Sent: Friday, 4 April 2003 12:49
# To: Carl Morley
# Cc: freebsd-questions at freebsd.org
# Subject: Re: time -h option not working?
# 
# On 2003-04-04 12:35, Carl Morley <bsdmn at webize.com.au> 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?
# 
# You're probably using your shell's builtin "time" command instead of
# /usr/bin/time.  Try specifying the full path to /usr/bin/time:
# 
# : bash-2.05b$ /usr/bin/time -h ls -laR /usr/src/sys >/dev/null
# :         4.96s real              0.34s user              0.69s sys
# : bash-2.05b$
# 
# - Giorgos
# 

Thanks, that worked great.
CLM.



More information about the freebsd-questions mailing list