From owner-freebsd-questions@FreeBSD.ORG Thu Apr 3 18:53:09 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1DF5437B401 for ; Thu, 3 Apr 2003 18:53:09 -0800 (PST) Received: from gateway.webize.com.au (gateway.webize.com.au [203.17.1.92]) by mx1.FreeBSD.org (Postfix) with SMTP id D365843FA3 for ; Thu, 3 Apr 2003 18:53:06 -0800 (PST) (envelope-from bsdmn@webize.com.au) Received: (qmail 1384 invoked from network); 4 Apr 2003 02:53:02 -0000 Received: from unknown (HELO webizepc) (192.168.100.10) by 192.168.100.50 with SMTP; 4 Apr 2003 02:53:02 -0000 From: "Carl Morley" To: "'Giorgos Keramidas'" Date: Fri, 4 Apr 2003 12:52:58 +1000 Message-ID: <006801c2fa55$4c7538b0$0a64a8c0@webizepc> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 In-Reply-To: <20030404024840.GA19481@gothmog.gr> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal cc: freebsd-questions@freebsd.org Subject: RE: time -h option not working? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Apr 2003 02:53:09 -0000 # -----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 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.