[NTLUG:Discuss] user notification

Fred James fredjame at concentric.net
Tue Oct 30 14:01:56 CST 2001


How about an sh script (Bourne Shell)?

(snippet)
while :
do
      (what ever you need to do)
      (maybe sleep some on each iteration)
done
(end snippet)

What is your context?  Do you need to know who is on, who just logged 
on, how long they have been on, how long have they been idle?
How do you want to be notified: by mail, on screen, or what?

finger `users` | (to awk, or whatever)...

...difficult to say without knowing what you really need, but there you 
have it.

Michael B. Lee wrote:

> 
> what tools (non-X) are out there to notify you when users log in? (so that
> you don't have to keep typing "users" or "who" just to see who's online?)
> 
> _______________________________________________
> http://www.ntlug.org/mailman/listinfo/discuss
> 
> .
> 
> 


-- 
...make every program a filter...




More information about the Discuss mailing list