From http://pcunix.com/SCOFAQ/scotec6.html#idleout :
The "idleout" program has been included with SCO Unix versions since Xenix. It is a shell script, so you can easily modify it if it doesn't quite answer your needs.
There are some limitations to it, however, so you may want to use something else.
A better program is nidleout ( ftp://ftp.armory.com/pub/admin/nidleout ) by John Dubois. That's a ksh script- it's complicated, though, and probably hard to modify unless you understand ksh scripts very well. However, it may
do exactly what you want without modification.
It's possible that just setting the TMOUT variable in ksh or bash may be enough for your needs; see the man pages for your shell.
Linux has "autolog", and a compiled OSR5 version (complete with man pages) is available from http://www.tkrh.demon.co.uk/files/.
There are also commercial solutions. Computronics Logmon ( http://pcunix.com/Reviews/logmon.html ) is product that doesn't have the limitations of idleout and offers extensive configuration capability.
Finally, I have a Perl script that has its own way of approaching the problem:: http://pcunix.com/Unix/piddle.html
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.