GO WHO

References: <Pine.LNX.3.94.970313133654.24619B-100000@ghome.chebucto.ns.ca>
Date: Thu, 13 Mar 1997 18:47:56 -0400
To: David Trueman <david@cs.dal.ca>,
From: "Neil K. Guy" <nkg@vcn.bc.ca>
Cc: CSuite Development <csuite-dev@chebucto.ns.ca>

next message in archive
next message in thread
previous message in archive
previous message in thread
Index of Subjects

Index of Subjects
At 2:58 PM -0400 on 3/13/97, David Trueman wrote:

> I am working on extending various routines to deal with terminal servers.
> I am assuming that either a hostname or IP number will be visiable in the
> system "who" output and that if that host matches a pattern that we can
> say tat the user is ona modem.

 In case anyone's interested, I wrote a CGI for the Vancouver CommunityNet
that relies on who output that way. So you get stuff like this:

             Who's currently using the Vancouver CommunityNet?

     User ID        Real name                     Idle time    Where

     neca       +   J.P. Conceicao                    .        Dialup
     cwillet        C. Willet                         .        Dialup
     jerrys         Jerry Sturge                      .        Telnet
     karenina       Alvarez Anna Karenina             .        Telnet
     feeline    +   Dave Palen                        .        Dialup
     guest          CommunityNet Guest User          0:01      Dialup

 The + symbol indicates that the user has a "user profile", aka a .plan
file in their home directory. The downside of this CGI is that it's often
very slow with high system load averages, as the passwd file must be
consulted for each user ID, so I wrote a fast who CGI as well that doesn't
list that info.

 Just in case that's of any interest to anyone... we don't use csuite, but
the CGI should work with most Unices and Lynx.

 - Neil K. Guy

--
        the Vancouver CommunityNet   *   http://www.vcn.bc.ca/
              (formerly the Vancouver Regional FreeNet)
     Neil K. Guy   *   nkg@vcn.bc.ca   *  Vice president & Webmeister
  This message does not represent VCNA board policy unless so indicated.



next message in archive
next message in thread
previous message in archive
previous message in thread
Index of Subjects