GO WHO

Date: Thu, 13 Mar 1997 18:57:10 -0400
From: David Trueman <david@cs.dal.ca>
To: "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

Thanks for the offer, Neil, but we're somewhat committed to our current
"who" especially with the new CSuite Remote Services hook.  I do almost
have the host/IP matching done and it is tied into to our login timer
and the daily modem stats/graphs so I had to tackle it anyway.

BTW, a trick you might want to try for your CGI is that we cache ours --
if no on has logged in since the last run we display the same results --
big win performance-wise.

On Thu, 13 Mar 1997, Neil K. Guy wrote:

> 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.
> 
> 
> 

  David Trueman,
    Systems Manager, Dalhousie Math, Stats and Computing Science
    Technical Chair, Chebucto Community Net


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