Re: time command

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



John Summerfield wrote:
Bisbal, Prentice wrote:

Stephen Harris wr


What you want is
 time ( command ; command )



I was going to suggest that myself, but when I tested in in bash, it
didn't work for me. Does it work for you?


summer@Lyrebird:~> time { sleep 10s;sleep 10s;}

real    0m20.023s
user    0m0.000s
sys     0m0.008s
summer@Lyrebird:~>
[summer@bilby ~]$ time (sleep 5s;sleep 5s)
[summer@bilby ~]$



summer@Lyrebird:~> time (sleep 10s;sleep 10s)

real    0m20.019s
user    0m0.000s
sys     0m0.000s
summer@Lyrebird:~>

Lyrebird's OpenSUSE 10.2, bash 3.1.17, Bilby's nahantish.


--

Cheers
John

-- spambait
1aaaaaaa@xxxxxxxxxxxxxxxx  Z1aaaaaaa@xxxxxxxxxxxxxxxx

Please do not reply off-list
_______________________________________________
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