<?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: TMOUT cause scripts end? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/tmout-cause-scripts-end/m-p/5249729#M656952</link>
    <description>Hi:&lt;BR /&gt;&lt;BR /&gt;Aside from experimenting (which is a great way to learn), there is always the quick look at the manpages.  In this case, the 'sh-posix(1)' manpages in the section about parameter substitution states that if TMOUT is "...set to a value greater than zero, the shell will terminate if a command is not entered within the prescribed number of seconds after issuing the PS1 prompt."&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
    <pubDate>Sat, 31 Jul 2010 12:03:59 GMT</pubDate>
    <dc:creator>James R. Ferguson</dc:creator>
    <dc:date>2010-07-31T12:03:59Z</dc:date>
    <item>
      <title>TMOUT cause scripts end?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tmout-cause-scripts-end/m-p/5249723#M656946</link>
      <description>In the company where I work, run some scripts that typically take an hour to complete.&lt;BR /&gt;It is going to set the variable TMOUT in /etc/profile with a value of 600 (10 minutes)&lt;BR /&gt;&lt;BR /&gt;This setting will cause the script ends earlier than expected?</description>
      <pubDate>Sat, 31 Jul 2010 01:09:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tmout-cause-scripts-end/m-p/5249723#M656946</guid>
      <dc:creator>Fernando Boza</dc:creator>
      <dc:date>2010-07-31T01:09:16Z</dc:date>
    </item>
    <item>
      <title>Re: TMOUT cause scripts end?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tmout-cause-scripts-end/m-p/5249724#M656947</link>
      <description>This configuration also SFTP session ends?</description>
      <pubDate>Sat, 31 Jul 2010 01:12:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tmout-cause-scripts-end/m-p/5249724#M656947</guid>
      <dc:creator>Fernando Boza</dc:creator>
      <dc:date>2010-07-31T01:12:13Z</dc:date>
    </item>
    <item>
      <title>Re: TMOUT cause scripts end?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tmout-cause-scripts-end/m-p/5249725#M656948</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;you can put # in the entry of TMOUT veriable line, so it will be visual at the end of script execution!&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Deeos</description>
      <pubDate>Sat, 31 Jul 2010 01:15:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tmout-cause-scripts-end/m-p/5249725#M656948</guid>
      <dc:creator>Deeos</dc:creator>
      <dc:date>2010-07-31T01:15:59Z</dc:date>
    </item>
    <item>
      <title>Re: TMOUT cause scripts end?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tmout-cause-scripts-end/m-p/5249726#M656949</link>
      <description>Fernando,&lt;BR /&gt;&lt;BR /&gt;You can put a larger value of  TMOUT  in the user local .profile   ,  or you can use in your script :&lt;BR /&gt;&lt;BR /&gt;export TMOUT=50000 &lt;BR /&gt;&lt;BR /&gt;something large value.&lt;BR /&gt;And the timeout would not happen.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Raj.</description>
      <pubDate>Sat, 31 Jul 2010 01:36:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tmout-cause-scripts-end/m-p/5249726#M656949</guid>
      <dc:creator>Raj D.</dc:creator>
      <dc:date>2010-07-31T01:36:49Z</dc:date>
    </item>
    <item>
      <title>Re: TMOUT cause scripts end?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tmout-cause-scripts-end/m-p/5249727#M656950</link>
      <description>&lt;!--!*#--&gt;Why not run the experiment?  In about ten&lt;BR /&gt;minutes, you should know the answer.  (And&lt;BR /&gt;that method is more reliable than looking for&lt;BR /&gt;opinions here.)&lt;BR /&gt;&lt;BR /&gt;&amp;gt; [...] set the variable TMOUT in&lt;BR /&gt;&amp;gt; /etc/profile [...]&lt;BR /&gt;&lt;BR /&gt;For experimental purposes, you could set it&lt;BR /&gt;locally instead of for everyone.</description>
      <pubDate>Sat, 31 Jul 2010 02:16:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tmout-cause-scripts-end/m-p/5249727#M656950</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2010-07-31T02:16:18Z</dc:date>
    </item>
    <item>
      <title>Re: TMOUT cause scripts end?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tmout-cause-scripts-end/m-p/5249728#M656951</link>
      <description>&amp;gt;This setting will cause the script ends earlier than expected?&lt;BR /&gt;&lt;BR /&gt;No, in a real shell, TMOUT only checks idle shells, not scripts that are eating up CPU.</description>
      <pubDate>Sat, 31 Jul 2010 07:02:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tmout-cause-scripts-end/m-p/5249728#M656951</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2010-07-31T07:02:39Z</dc:date>
    </item>
    <item>
      <title>Re: TMOUT cause scripts end?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tmout-cause-scripts-end/m-p/5249729#M656952</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;Aside from experimenting (which is a great way to learn), there is always the quick look at the manpages.  In this case, the 'sh-posix(1)' manpages in the section about parameter substitution states that if TMOUT is "...set to a value greater than zero, the shell will terminate if a command is not entered within the prescribed number of seconds after issuing the PS1 prompt."&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Sat, 31 Jul 2010 12:03:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tmout-cause-scripts-end/m-p/5249729#M656952</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2010-07-31T12:03:59Z</dc:date>
    </item>
    <item>
      <title>Re: TMOUT cause scripts end?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tmout-cause-scripts-end/m-p/5249730#M656953</link>
      <description>TMOUT has no meaning inside a running shell script. Your login (interactive) shell starts counting seconds when it displays the command line prompt (ie, $ or #, whatever). When you run a script or a program (like vi), the counter does not run. When the script or program ends, the counter starts over from zero.&lt;BR /&gt; &lt;BR /&gt;So TMOUT is only meaningful when the shell is waiting for a user to type something. It is safe to set it in /etc/profile although 600 (10 minutes) seems a bit short. Users may be on a phone call and their idle session will terminate. Sysadmins will be particularly annoyed when troubleshooting problems and talking with users and their sessions terminate.&lt;BR /&gt; &lt;BR /&gt;NOTE: Any user can change TMOUT to a larger number (or zero) in their own profile unless you make the TMOUT variable readonly.</description>
      <pubDate>Sun, 01 Aug 2010 00:36:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tmout-cause-scripts-end/m-p/5249730#M656953</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2010-08-01T00:36:01Z</dc:date>
    </item>
    <item>
      <title>Re: TMOUT cause scripts end?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tmout-cause-scripts-end/m-p/5249731#M656954</link>
      <description>Thanks to all&lt;BR /&gt;&lt;BR /&gt;Bill, you are right!!!&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Another question:&lt;BR /&gt;&lt;BR /&gt;What happend with SFTP conections?</description>
      <pubDate>Mon, 02 Aug 2010 14:44:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tmout-cause-scripts-end/m-p/5249731#M656954</guid>
      <dc:creator>Fernando Boza</dc:creator>
      <dc:date>2010-08-02T14:44:07Z</dc:date>
    </item>
    <item>
      <title>Re: TMOUT cause scripts end?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tmout-cause-scripts-end/m-p/5249732#M656955</link>
      <description>&amp;gt; What happend with SFTP conections?&lt;BR /&gt; &lt;BR /&gt;I am assuming you mean: will SFTP connections timeout? The answer is no. SFTP, like rcp, ftp, rsync, etc, are just programs that can be started from a shell prompt. Once the new program starts (like SFTP), the shell stops running and does nothing until the kernel wakes up the shell. If the shell is not running, then the TMOUT counter is not running either. TMOUT is *only* for shell logins that are waiting at a prompt.</description>
      <pubDate>Mon, 02 Aug 2010 17:03:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tmout-cause-scripts-end/m-p/5249732#M656955</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2010-08-02T17:03:47Z</dc:date>
    </item>
    <item>
      <title>Re: TMOUT cause scripts end?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tmout-cause-scripts-end/m-p/5249733#M656956</link>
      <description>thanks Bill</description>
      <pubDate>Thu, 24 Feb 2011 16:34:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tmout-cause-scripts-end/m-p/5249733#M656956</guid>
      <dc:creator>Fernando Boza</dc:creator>
      <dc:date>2011-02-24T16:34:28Z</dc:date>
    </item>
  </channel>
</rss>

