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
Discussions
Discussions
Discussions
Forums
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
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
тАО03-13-2009 04:27 AM
тАО03-13-2009 04:27 AM
script
when work remotely my unix secure crt session becomes hung after 30 min inactive session.can some one tell me a small script that can keep my session alive.
any idea is welcome
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-13-2009 04:38 AM
тАО03-13-2009 04:38 AM
Re: script
If it is getting disconnected then you need to look at the timeout(TMOUT) value.
The easiest one would be ping the server.
Ganesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-13-2009 04:44 AM
тАО03-13-2009 04:44 AM
Re: script
you try by nohup , by running you script back round.
Example:-
vi osbackup.sh
make_tape_recovery -AvI -x inc_entire=vg00 -a /dev/rmt/0mn
# nohup ./osbackup.sh &
Thanks,
Johnson
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-13-2009 05:57 AM
тАО03-13-2009 05:57 AM
Re: script
Talk to your network admin and see if the timeout value can be extended.
Also, sometimes, leaving a vi session open on the terminal prevents the timeout taking effect but not always. You definitely can try that.
Or, also something like this can keep your connection alive but again, not always:
while true ; do
echo "I'm alive"
sleep 60
done
I said not always, because some routers/firewalls, look for bidirectional activity to stay alive not unidirectional.
The only thinl that you can do is to record a windows macro of some sort (autohotkey windows program comes to mind to accomplish this) and send the command "ls" to your unix terminal window every few minutes, definitely more frequently than 30 minutes to prevent the timeout.
Hope this helps
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-13-2009 06:00 AM
тАО03-13-2009 06:00 AM
Re: script
A small suggestion..hope it will work.
First login in the server through Secure CRT..Then click on - Options or Alt+o - Session option or Alt+s.
A session Option page will appear..in this page again click on Options and in right side pane check the "send string" box and give -. And also check the attchement.
Thnx...Farhan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-13-2009 06:07 AM
тАО03-13-2009 06:07 AM
Re: script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-13-2009 07:09 AM
тАО03-13-2009 07:09 AM
Re: script
Just an idea.
UNIX because I majored in cryptology...