From owner-freebsd-questions Sun Sep 22 21:39:08 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id VAA07282 for questions-outgoing; Sun, 22 Sep 1996 21:39:08 -0700 (PDT) Received: from gdi.uoregon.edu (gdi.uoregon.edu [128.223.170.30]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id VAA07255 for ; Sun, 22 Sep 1996 21:39:04 -0700 (PDT) Received: from localhost (dwhite@localhost) by gdi.uoregon.edu (8.7.5/8.6.12) with SMTP id SAA00353; Sun, 22 Sep 1996 18:31:05 -0700 (PDT) Date: Sun, 22 Sep 1996 18:31:05 -0700 (PDT) From: Doug White Reply-To: dwhite@resnet.uoregon.edu To: Frank Mayhar cc: freebsd-questions@freebsd.org Subject: Re: Admin script to monitor modem use? In-Reply-To: <199609222150.OAA19370@exit.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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