Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Get Process Start Time

by 0xbeef (Hermit)
on Feb 17, 2011 at 21:15 UTC ( #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? | Other CB clients
Other Users?
Others pondering the Monastery: (3)
As of 2022-05-25 04:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (84 votes). Check out past polls.

    Notices?