Unix questions - UNIX Timing

This is Interesting: Free IT Magazines  
Home > Archive > Unix questions > March 2004 > UNIX Timing





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author UNIX Timing
Tom

2004-03-10, 11:34 pm

How do I measure the run time of a UNIX command? Like "ls" for example.
Alan Connor

2004-03-10, 11:34 pm

On 10 Mar 2004 20:06:36 -0800, Tom <ttatone@hotmail.com> wrote:
>
>
> How do I measure the run time of a UNIX command? Like "ls" for example.


$ time ls


:-)

AC

--
ed(1) Check out the original tutorials by Brian W.
Kernighan at the Ed Home Page http://tinyurl.com/2aa6g
Allan Chandler

2004-03-11, 12:34 am

time ls

Pax Diablo

"Tom" <ttatone@hotmail.com> wrote in message
news:aa63ba2a.0403102006.64709118@posting.google.com...
> How do I measure the run time of a UNIX command? Like "ls" for example.



Ed Morton

2004-03-11, 10:38 am



Tom wrote:

> How do I measure the run time of a UNIX command? Like "ls" for example.


In the past couple of days you've posted this question once to
comp.unix.shell and twice to comp.unix.questions. If the answers you've
received so far aren't helping, please explain more about what you're
looking for before posting for a fourth time.

Ed.

Barry Margolin

2004-03-11, 1:34 pm

In article <aa63ba2a.0403102006.64709118@posting.google.com>,
ttatone@hotmail.com (Tom) wrote:

> How do I measure the run time of a UNIX command? Like "ls" for example.


Didn't you just ask this same question a couple of days ago? Are you
expecting different answers today?

--
Barry Margolin, barmar@alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***
Belord Kunjeer

2004-03-11, 6:35 pm

To measure run time for a unix command


time ls -a


Different shells give the output in different format.
Bit Twister

2004-03-15, 3:35 pm

On 10 Mar 2004 20:06:36 -0800, Tom wrote:
> How do I measure the run time of a UNIX command? Like "ls" for example.


here try this

man -k time | grep command
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com