- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Disconnect from Unix server
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2001 07:32 AM
08-06-2001 07:32 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2001 07:36 AM
08-06-2001 07:36 AM
Re: Disconnect from Unix server
TMOUT=30 (timeout in 30 seconds)
...jcd...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2001 07:37 AM
08-06-2001 07:37 AM
Re: Disconnect from Unix server
Check the value of the TMOUT environmental variable (echo $TMOUT). The value's units are in seconds. If non-zero, the shell will terminate if a command is not entered within TMOUT seconds after issuing the PS1 prompt.
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2001 07:50 AM
08-06-2001 07:50 AM
Re: Disconnect from Unix server
The environment variable TMOUT specify disconnection if it's value is exeeded between two successif unix commands.
The value associated with this variable is expressed in seconds.
you may adjust it to your desired value.
Magdi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2001 08:27 AM
08-06-2001 08:27 AM
Re: Disconnect from Unix server
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2001 09:24 AM
08-06-2001 09:24 AM
Re: Disconnect from Unix server
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2001 02:56 PM
08-06-2001 02:56 PM
Solutionmodem at either end may disconnect you if you have
not activity for a certain period (usually 10 to 20
minutes). I haven't worked with RAS for a long time
but I think it also has an inactivy timer.
Try running something like
while sleep 600; do echo '--timer--'; done &
before your patches. This will force activity on the
modem line every 5 minutes. This should keep the line
alive unless the check is for incoming activity.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2001 10:34 PM
08-06-2001 10:34 PM
Re: Disconnect from Unix server
If you didn't specified any timeout, it don't mean that it is not set to 15 minutes by default, by example.
Look at your PC and change it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2001 12:20 AM
08-07-2001 12:20 AM
Re: Disconnect from Unix server
If you are using normal unix shells -- then try start running tsm (Multiple terminal sessions Manager). As this program always runs so your programmes excecuted from the child shells won't get hung, we use the same technique to connect to our servers at office through RAS, for longer sessions.
Hope this helps
Cheers !!!
Mathew
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2001 06:54 PM
08-07-2001 06:54 PM
Re: Disconnect from Unix server
while true;
do
sleep 2
echo '--timer--';
done
And this solution worked fine for me.
Thanks a lot again.
Mathew I will also try your solution about TSM.
Thanks!