Re: time command

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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

Attachment: pgpPp1Nh898jE.pgp
Description: PGP signature

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux