Autologout - idles program - detecting inactivity from a modem port

Autologout - idles program - detecting inactivity from a modem port

Post by Bryce Hilt » Thu, 07 Jul 1994 03:10:13


        I'm using a program called "idles" that logs users out after a
period of inactivity.  The program periodically stats the tty files to
see the last time they have been changed.  This seems to work for most
situations, except when a user:
                                logs in by modem
                                gets to a shell through telnet or ftp
                                hangs up without exiting the shell

        I've tested this myself, and after looking at the stat
information, find that somehow the tty file is updated continuously, and
there is no idle time.  I checked this by the "w" command and by directly
examining the stat information with my own program.

        Also, I've noticed that the JCPU and PCPU seem to reflect the
time idled.  

        What to do!?  

                                Bryce Hilton


1. program to detect PPP idle and start another program

I am looking for a program that will check my PPP link for idle, or near
idle conditions, and when it is found, to run another program (that will
use the connection) until the PPP is again being used.

Something kind of like nicing the bandwidth useage of a program to that it
is always being used, but I have priority over the nice app.

Does anyone know fwhether such a program/script exists?

2. Netscape 4.7 on CD?

3. Program to auto hangup modem after inactivity ?

4. Joystick under XFree86 4.0

5. specifying screen saver program; detecting idle state?

6. USIV -- CMP orc CMT or both?

7. Idle sessions/autologout

8. problems with FIND cmd

9. IDLE User - Autologout

10. Autologout on idle

11. Idle time detector / autologout for UNIX system.

12. HELP: How to detect a user inactivity for certain software in X Windows

13. Program to detect jammed lpd printer on serial port