[CentOS] time command
John Summerfield
debian at herakles.homelinux.org
Wed Apr 11 22:45:46 UTC 2007
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 at Lyrebird:~> time { sleep 10s;sleep 10s;}
>
> real 0m20.023s
> user 0m0.000s
> sys 0m0.008s
> summer at Lyrebird:~>
> [summer at bilby ~]$ time (sleep 5s;sleep 5s)
> [summer at bilby ~]$
>
>
>
summer at Lyrebird:~> time (sleep 10s;sleep 10s)
real 0m20.019s
user 0m0.000s
sys 0m0.000s
summer at Lyrebird:~>
Lyrebird's OpenSUSE 10.2, bash 3.1.17, Bilby's nahantish.
--
Cheers
John
-- spambait
1aaaaaaa at coco.merseine.nu Z1aaaaaaa at coco.merseine.nu
Please do not reply off-list
More information about the CentOS
mailing list