[CentOS] sendmail and rbl blocking - generating statistics
Will McDonald
wmcdonald at gmail.com
Wed Mar 14 23:33:06 UTC 2007
On 14/03/07, John Summerfield <debian at herakles.homelinux.org> wrote:
> Will McDonald wrote:
> > On 14/03/07, John Summerfield <debian at herakles.homelinux.org> wrote:
> >> Ryan Simpkins wrote:
> >> >
> >> > Am I using time right to measure it?
> >> No, you're timing the cat only.
> >
> > I don't think that's the case, you know. If I run the following:
>
> [summer at bilby ~]$ time sleep 10s;sleep 10s
>
> real 0m10.011s
> user 0m0.000s
> sys 0m0.003s
> [summer at bilby ~]$ time sleep 10s|sleep 10s
>
> real 0m10.002s
> user 0m0.001s
> sys 0m0.003s
> [summer at bilby ~]$ time sleep 10s | time sleep 10s
> 0.00user 0.00system 0:09.99elapsed 0%CPU (0avgtext+0avgdata 0maxresident)k
> 0inputs+0outputs (0major+150minor)pagefaults 0swaps
>
> real 0m10.011s
> user 0m0.000s
> sys 0m0.006s
> [summer at bilby ~]$
I sit corrected, thanks John. A subshell appears to show the expected
behaviour...
[wmcdonald at stella ~]$ time $(sleep 10s; sleep 10s)
real 0m20.011s
user 0m0.001s
sys 0m0.006s
Will.
More information about the CentOS
mailing list