Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Get Process Start Time

by 0xbeef (Hermit)
on Feb 17, 2011 at 21:15 UTC ( [id://888799]=note: print w/replies, xml ) Need Help??


in reply to Get Process Start Time

Did you consider using the TMOUT environment setting? The default shell from HP-UX 10.0 is sh-posix (OSF POSIX), and TMOUT can be used to disconnect idle login sessions. This should also work in earlier versions of HP-UX that make use of ksh.

You would simply need to set this environment variable system-wide (in /etc/profile) or in the user's individual profile file to cause an idle login session to be terminated after a specified amount of seconds:

# Set TMOUT to 15 minutes, read-only so user cannot override it. TMOUT=900 readonly TMOUT export TMOUT

Niël

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://888799]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (5)
As of 2024-04-24 09:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found