[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [cobalt-users] [RAQ4i] /var/log/maillog >> maillog.html [Possible OFF TOPIC]
- Subject: RE: [cobalt-users] [RAQ4i] /var/log/maillog >> maillog.html [Possible OFF TOPIC]
- From: "Paul Alcock" <webmgr@xxxxxxxxxxxxxxxxxx>
- Date: Thu Aug 15 08:18:01 2002
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
> OFF TOPIC POST (at a guess)
> I, as adminstrator
> tail -f /var/log/maillog
>
> im away for a few days but the engineer guys here want to be able to
> check the maillog, but there are clueless when it comes to a *nix
> shell.
>
> IS there anyway i can tail / parse the maillog to a html page as it
> happens?
>
The page would get huge pretty quickly.
If no buffering of the output was set, then you would see the page grow (the
eternal page down to follow it.)
So, better would be a html page could have a refresh to itself calling a cgi
which gets the tail of the log.
Might have a few permissions to get over as I think the maillog requires
root.
So someone wants to see the dryer tumbling :)
Paul.