Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Sep 1996 18:31:05 -0700 (PDT)
From:      Doug White <dwhite@gdi.uoregon.edu>
To:        Frank Mayhar <frank@exit.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Admin script to monitor modem use?
Message-ID:  <Pine.BSI.3.94.960922182912.298A-100000@gdi.uoregon.edu>
In-Reply-To: <199609222150.OAA19370@exit.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 22 Sep 1996, Frank Mayhar wrote:

> Instead of possibly going ahead and reinventing a wheel, I thought I would
> ask the FreeBSD community.  I need a tool or script that takes the entries
> in wtmp and produces information about a set of dialin ttys (ttyd*, in fact)
> indicating usage, at the very least, and possibly more.  It's along the
> lines of "last," but last doesn't give me exactly what I need.

What doesn't it tell you?  Just pipe it's output through grep or use the
-t option to isolate specific tty's.  

last -t d0 would give you all logins for ttyd0, for instance.  

Doug White                              | University of Oregon  
Internet:  dwhite@resnet.uoregon.edu    | Residence Networking Assistant
http://gladstone.uoregon.edu/~dwhite    | Computer Science Major




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSI.3.94.960922182912.298A-100000>