Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Apr 2003 12:52:58 +1000
From:      "Carl Morley" <bsdmn@webize.com.au>
To:        "'Giorgos Keramidas'" <keramida@ceid.upatras.gr>
Cc:        freebsd-questions@freebsd.org
Subject:   RE: time -h option not working?
Message-ID:  <006801c2fa55$4c7538b0$0a64a8c0@webizepc>
In-Reply-To: <20030404024840.GA19481@gothmog.gr>

next in thread | previous in thread | raw e-mail | index | archive | help


# -----Original Message-----
# From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd-
# questions@freebsd.org] On Behalf Of Giorgos Keramidas
# Sent: Friday, 4 April 2003 12:49
# To: Carl Morley
# Cc: freebsd-questions@freebsd.org
# Subject: Re: time -h option not working?
# 
# On 2003-04-04 12:35, Carl Morley <bsdmn@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?006801c2fa55$4c7538b0$0a64a8c0>