For HP-UX

To display the current timeout period value, enter:

/usr/contrib/bin/nettune -l

The tcp-keepstart parameter specifies the length of time (in seconds) that an idle connection is kept active before the system checks to see if the connection is no longer viable.

To change the timeout period, use the nettune -s command: