[CentOS] time command

Thu Apr 12 09:21:45 UTC 2007
Luciano Miguel Ferreira Rocha <strange at nsk.no-ip.org>

On Thu, Apr 12, 2007 at 06:41:24AM +0800, John Summerfield wrote:
> Luciano Miguel Ferreira Rocha wrote:
> >It works for me:
> >
> >$ time (echo a ; echo b)
> >a
> >b
> >
> >real    0m0.001s
> >user    0m0.000s
> >sys     0m0.001s
> 
> There's no evidence there of what you're timing.

time (sleep 1; sleep 2)

real    0m3.008s
user    0m0.001s
sys     0m0.002s

time (ls -d /; dd if=/dev/zero of=/dev/null bs=16M count=3200)
3200+0 records in
3200+0 records out
53687091200 bytes (54 GB) copied, 1.49506 seconds, 35.9 GB/s

real    0m1.502s
user    0m0.005s
sys     0m1.428s

-- 
lfr
0/0
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.centos.org/pipermail/centos/attachments/20070412/685a15c4/attachment-0005.sig>