<?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 what is 'tput' waiting for? in Intel® Moderncode for Parallel Architectures</title>
    <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/what-is-tput-waiting-for/m-p/776231#M187</link>
    <description>[plain]I run a server with a family account, any member of the family can connect to&lt;BR /&gt;the server using a different port. when I test the program, I found a strange problem:&lt;BR /&gt;after resetting the connections, the script occasionally waited for about 37 minutes&lt;BR /&gt;and went on as nothing happened. the script just waited for a single line of start_acct.sh:
term_cols=`tput cols` 2&amp;gt;/dev/null

'tput' seems to support multi-instances running at the same time.&lt;BR /&gt;but what is 'tput' waiting for under the situation described above?

Tue Jul 31 08:46:06 CST 2012 [cmd]ps -xf -o pid,etime,stime,args
 5571       36:58 08:09 sh -c acct_path=${PWD/*account/account};./reset_acct.sh ${acct_path}
 5942       36:52 08:09      \_ /bin/bash ./start_acct.sh account1/1-8 127.0.0.1 50001
 6203       36:52 08:09          \_ tput cols
 5574       36:58 08:09 sh -c acct_path=${PWD/*account/account};./reset_acct.sh ${acct_path}
 6138       36:52 08:09      \_ /bin/bash ./start_acct.sh account1/1-1 127.0.0.1 50001
 6218       36:52 08:09          \_ tput cols
 5598       36:58 08:09 sh -c acct_path=${PWD/*account/account};./reset_acct.sh ${acct_path}
 5991       36:52 08:09      \_ /bin/bash ./start_acct.sh account1/1-2 127.0.0.1 50001
 6237       36:52 08:09          \_ tput cols
 5612       36:58 08:09 sh -c acct_path=${PWD/*account/account};./reset_acct.sh ${acct_path}
 5963       36:52 08:09      \_ /bin/bash ./start_acct.sh account1/1-7 127.0.0.1 50001
 6214       36:52 08:09          \_ tput cols
[/plain]</description>
    <pubDate>Tue, 31 Jul 2012 05:01:57 GMT</pubDate>
    <dc:creator>hyphone</dc:creator>
    <dc:date>2012-07-31T05:01:57Z</dc:date>
    <item>
      <title>what is 'tput' waiting for?</title>
      <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/what-is-tput-waiting-for/m-p/776231#M187</link>
      <description>[plain]I run a server with a family account, any member of the family can connect to&lt;BR /&gt;the server using a different port. when I test the program, I found a strange problem:&lt;BR /&gt;after resetting the connections, the script occasionally waited for about 37 minutes&lt;BR /&gt;and went on as nothing happened. the script just waited for a single line of start_acct.sh:
term_cols=`tput cols` 2&amp;gt;/dev/null

'tput' seems to support multi-instances running at the same time.&lt;BR /&gt;but what is 'tput' waiting for under the situation described above?

Tue Jul 31 08:46:06 CST 2012 [cmd]ps -xf -o pid,etime,stime,args
 5571       36:58 08:09 sh -c acct_path=${PWD/*account/account};./reset_acct.sh ${acct_path}
 5942       36:52 08:09      \_ /bin/bash ./start_acct.sh account1/1-8 127.0.0.1 50001
 6203       36:52 08:09          \_ tput cols
 5574       36:58 08:09 sh -c acct_path=${PWD/*account/account};./reset_acct.sh ${acct_path}
 6138       36:52 08:09      \_ /bin/bash ./start_acct.sh account1/1-1 127.0.0.1 50001
 6218       36:52 08:09          \_ tput cols
 5598       36:58 08:09 sh -c acct_path=${PWD/*account/account};./reset_acct.sh ${acct_path}
 5991       36:52 08:09      \_ /bin/bash ./start_acct.sh account1/1-2 127.0.0.1 50001
 6237       36:52 08:09          \_ tput cols
 5612       36:58 08:09 sh -c acct_path=${PWD/*account/account};./reset_acct.sh ${acct_path}
 5963       36:52 08:09      \_ /bin/bash ./start_acct.sh account1/1-7 127.0.0.1 50001
 6214       36:52 08:09          \_ tput cols
[/plain]</description>
      <pubDate>Tue, 31 Jul 2012 05:01:57 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/what-is-tput-waiting-for/m-p/776231#M187</guid>
      <dc:creator>hyphone</dc:creator>
      <dc:date>2012-07-31T05:01:57Z</dc:date>
    </item>
  </channel>
</rss>

