[CentOS] sendmail and rbl blocking - generating statistics
wmcdonald at gmail.com
Wed Mar 14 22:35:48 UTC 2007
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:
[wmcdonald at stella ~]$ ls -lh /tmp/messages.1
-rw-r--r-- 1 root root 4.3M Mar 14 20:03 /tmp/messages.1
[wmcdonald at stella ~]$ time cat /tmp/messages.1 1> /dev/null
[wmcdonald at stella ~]$ time cat /tmp/messages.1 | grep '*.foo' 1> /dev/null
Running both commands repeatedly shows similar time differences, I
think 'time''s timing the execution time of the whole command.
More information about the CentOS