Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Feb 2003 01:40:36 +0200
From:      Giorgos Keramidas <keramida@ceid.upatras.gr>
To:        Nathan Kinkade <nkinkade@dsl-only.net>
Cc:        freebsd-questions@FreeBSD.org
Subject:   Re: Can't remember how to read binary log files
Message-ID:  <20030206234036.GA3969@gothmog.gr>
In-Reply-To: <20030206044007.GQ87743@sub21-156.member.dsl-only.net>
References:  <20030206004953.GA97096@keyslapper.org> <20030206044007.GQ87743@sub21-156.member.dsl-only.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2003-02-05 20:40, Nathan Kinkade <nkinkade@dsl-only.net> wrote:
> On Wed, Feb 05, 2003 at 07:49:53PM -0500, Louis LeBlanc wrote:
> > Sorry for the OT question, but how does one view the contents of the
> > binary logfiles?  I'm referring specifically to /var/log/sendmail.st
> > and /var/log/wtmp.  I've looked in the syslog manpages and can't seem
> > to find it.
>
> You can read:
> utmp with `w` or `who`
> wtmp with `last`
>
> not sure about sendmail.st.

Try running:

	# hoststat

The documentation for hoststat is sendmail(8), and it's use/setup is
explained in /usr/share/sendmail/cf/README.  Look for the definition
of STATUS_FILE in /usr/share/sendmail/cf/README and
/usr/share/sendmail/cf/ostype/freebsd4.m4 for details.

- Giorgos


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030206234036.GA3969>