From owner-freebsd-questions Thu Feb 6 15:42:40 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E012037B405 for ; Thu, 6 Feb 2003 15:41:05 -0800 (PST) Received: from mailsrv.otenet.gr (mailsrv.otenet.gr [195.170.0.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id C81B443FBD for ; Thu, 6 Feb 2003 15:41:04 -0800 (PST) (envelope-from keramida@ceid.upatras.gr) Received: from gothmog.gr (patr530-b209.otenet.gr [212.205.244.217]) by mailsrv.otenet.gr (8.12.6/8.12.6) with ESMTP id h16NekWx000070; Fri, 7 Feb 2003 01:40:55 +0200 (EET) Received: from gothmog.gr (gothmog [127.0.0.1]) by gothmog.gr (8.12.6/8.12.6) with ESMTP id h16Neh8Q009261; Fri, 7 Feb 2003 01:40:43 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Received: (from giorgos@localhost) by gothmog.gr (8.12.6/8.12.6/Submit) id h16NeakG009260; Fri, 7 Feb 2003 01:40:36 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Date: Fri, 7 Feb 2003 01:40:36 +0200 From: Giorgos Keramidas To: Nathan Kinkade Cc: freebsd-questions@FreeBSD.org Subject: Re: Can't remember how to read binary log files Message-ID: <20030206234036.GA3969@gothmog.gr> References: <20030206004953.GA97096@keyslapper.org> <20030206044007.GQ87743@sub21-156.member.dsl-only.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030206044007.GQ87743@sub21-156.member.dsl-only.net> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 2003-02-05 20:40, Nathan Kinkade 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