Date: Fri, 4 Apr 2003 05:48:40 +0300 From: Giorgos Keramidas <keramida@ceid.upatras.gr> To: Carl Morley <bsdmn@webize.com.au> Cc: freebsd-questions@freebsd.org Subject: Re: time -h option not working? Message-ID: <20030404024840.GA19481@gothmog.gr> In-Reply-To: <006001c2fa52$ec77ed60$0a64a8c0@webizepc> References: <006001c2fa52$ec77ed60$0a64a8c0@webizepc>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030404024840.GA19481>