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

Re: [cobalt-users] Maybe Not a Raq ??



"Jerry Farquhar" <jerry@xxxxxxxxxxx> wrote:
> Tried the "tail -f /var/log/maillog" but there is so much activity on the
> server that everything scrolls by so fast I can't read it fast enough to
see
> the results and when I tried to "cat /var/log/maillog" the again scrolled
so
> fast I'm assuming because of being a constantly updated file.
>
> Any way any suggestions as how to better watch the delivery of those
> specific test address's?

To check for specific strings only do:

# Real time
tail -f /var/log/maillog | grep <case_sensitive_string>

or

# Snapshot
cat /var/log/maillog | grep <case_sensitive_string>

Also "man more" and "man less" for programs which display output one screen
at a time.

--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/