<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: script in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/script/m-p/4378723#M348334</link>
    <description>I am not sure what your reason is to use secureCRT but if you want to save some money for secureCRT licensing and switch to putty instead, under the connection settings, there is a box where you can specify how many seconds that you need to send a keepalive signal to the server. It is turned off (zero) by default but you can change it. &lt;BR /&gt;&lt;BR /&gt;Just an idea.</description>
    <pubDate>Fri, 13 Mar 2009 14:09:55 GMT</pubDate>
    <dc:creator>Mel Burslan</dc:creator>
    <dc:date>2009-03-13T14:09:55Z</dc:date>
    <item>
      <title>script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script/m-p/4378717#M348328</link>
      <description>Hello&lt;BR /&gt;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.&lt;BR /&gt;any idea is welcome&lt;BR /&gt;thanks</description>
      <pubDate>Fri, 13 Mar 2009 11:27:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script/m-p/4378717#M348328</guid>
      <dc:creator>navin</dc:creator>
      <dc:date>2009-03-13T11:27:51Z</dc:date>
    </item>
    <item>
      <title>Re: script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script/m-p/4378718#M348329</link>
      <description>First you should identify if the session get hung or disconnected.&lt;BR /&gt;&lt;BR /&gt;If it is getting disconnected then you need to look at the timeout(TMOUT) value.&lt;BR /&gt;&lt;BR /&gt;The easiest one would be ping the server.</description>
      <pubDate>Fri, 13 Mar 2009 11:38:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script/m-p/4378718#M348329</guid>
      <dc:creator>Ganesan R</dc:creator>
      <dc:date>2009-03-13T11:38:34Z</dc:date>
    </item>
    <item>
      <title>Re: script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script/m-p/4378719#M348330</link>
      <description>Hi Navin,&lt;BR /&gt;&lt;BR /&gt;you try by nohup , by running you script back round.&lt;BR /&gt;&lt;BR /&gt;Example:- &lt;BR /&gt;&lt;BR /&gt;vi osbackup.sh&lt;BR /&gt;make_tape_recovery -AvI -x inc_entire=vg00 -a /dev/rmt/0mn&lt;BR /&gt;&lt;BR /&gt;# nohup ./osbackup.sh &amp;amp;&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Johnson</description>
      <pubDate>Fri, 13 Mar 2009 11:44:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script/m-p/4378719#M348330</guid>
      <dc:creator>Johnson Punniyalingam</dc:creator>
      <dc:date>2009-03-13T11:44:46Z</dc:date>
    </item>
    <item>
      <title>Re: script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script/m-p/4378720#M348331</link>
      <description>More than likely, the network connectivity between your windows workstation (you said secureCRT right ? running on windows ?) and the server your are connecting to is dying because of the firewall/router timeout settings. And there is not much you can do about it unless you are the network admin at the same time. In most environments, security rules mandate to kill inactive sessions after certain time. Looks like yours is set to 30 minutes.&lt;BR /&gt;Talk to your network admin and see if the timeout value can be extended.&lt;BR /&gt;Also, sometimes, leaving a vi session open on the terminal prevents the timeout taking effect but not always. You definitely can try that.&lt;BR /&gt;Or, also something like this can keep your connection alive but again, not always:&lt;BR /&gt;&lt;BR /&gt;while true ; do&lt;BR /&gt;echo "I'm alive"&lt;BR /&gt;sleep 60&lt;BR /&gt;done&lt;BR /&gt;&lt;BR /&gt;I said not always, because some routers/firewalls, look for bidirectional activity to stay alive not unidirectional.&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;Hope this helps</description>
      <pubDate>Fri, 13 Mar 2009 12:57:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script/m-p/4378720#M348331</guid>
      <dc:creator>Mel Burslan</dc:creator>
      <dc:date>2009-03-13T12:57:35Z</dc:date>
    </item>
    <item>
      <title>Re: script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script/m-p/4378721#M348332</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;A small suggestion..hope it will work.&lt;BR /&gt;&lt;BR /&gt;First login in the server through Secure CRT..Then click on - Options or Alt+o - Session option or Alt+s.&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thnx...Farhan</description>
      <pubDate>Fri, 13 Mar 2009 13:00:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script/m-p/4378721#M348332</guid>
      <dc:creator>Md. Farhan A Azam</dc:creator>
      <dc:date>2009-03-13T13:00:40Z</dc:date>
    </item>
    <item>
      <title>Re: script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script/m-p/4378722#M348333</link>
      <description>run top, or glance.</description>
      <pubDate>Fri, 13 Mar 2009 13:07:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script/m-p/4378722#M348333</guid>
      <dc:creator>Tingli</dc:creator>
      <dc:date>2009-03-13T13:07:31Z</dc:date>
    </item>
    <item>
      <title>Re: script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script/m-p/4378723#M348334</link>
      <description>I am not sure what your reason is to use secureCRT but if you want to save some money for secureCRT licensing and switch to putty instead, under the connection settings, there is a box where you can specify how many seconds that you need to send a keepalive signal to the server. It is turned off (zero) by default but you can change it. &lt;BR /&gt;&lt;BR /&gt;Just an idea.</description>
      <pubDate>Fri, 13 Mar 2009 14:09:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script/m-p/4378723#M348334</guid>
      <dc:creator>Mel Burslan</dc:creator>
      <dc:date>2009-03-13T14:09:55Z</dc:date>
    </item>
  </channel>
</rss>

