<?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: standard output redirect from script in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/standard-output-redirect-from-script/m-p/3593315#M231710</link>
    <description>You have to try as,&lt;BR /&gt;&lt;BR /&gt;# osiping NSAPs 1&amp;gt;/tmp/osiping.log 2&amp;gt;&amp;amp;1 &amp;amp;&lt;BR /&gt;&lt;BR /&gt;If you use &amp;amp; you can monitor log file in same terminal.&lt;BR /&gt;&lt;BR /&gt;It will run into background and you can monitor it as,&lt;BR /&gt;&lt;BR /&gt;# tail -f /tmp/osiping.log&lt;BR /&gt;&lt;BR /&gt;Problem in your script is, you are redirecting standard error to standard output but did not redirect standart output to log file.&lt;BR /&gt;&lt;BR /&gt;hth.</description>
    <pubDate>Mon, 01 Aug 2005 00:57:17 GMT</pubDate>
    <dc:creator>Muthukumar_5</dc:creator>
    <dc:date>2005-08-01T00:57:17Z</dc:date>
    <item>
      <title>standard output redirect from script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/standard-output-redirect-from-script/m-p/3593312#M231707</link>
      <description>Hi &lt;BR /&gt;&lt;BR /&gt;I want a osiping running at backgrund all the time but redirect the standard output to a file so I can monitor it.&lt;BR /&gt;&lt;BR /&gt;I tried this&lt;BR /&gt;&lt;BR /&gt;# at now&lt;BR /&gt;osiping NSAPs 2&amp;gt;&amp;amp;1 /tmp/osiping.log&lt;BR /&gt;crtl D&lt;BR /&gt;&lt;BR /&gt;but it is not working, the osiping is running but I see nothing in that file.&lt;BR /&gt;&lt;BR /&gt;thanks&lt;BR /&gt;Nan</description>
      <pubDate>Sun, 31 Jul 2005 21:04:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/standard-output-redirect-from-script/m-p/3593312#M231707</guid>
      <dc:creator>njia_1</dc:creator>
      <dc:date>2005-07-31T21:04:52Z</dc:date>
    </item>
    <item>
      <title>Re: standard output redirect from script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/standard-output-redirect-from-script/m-p/3593313#M231708</link>
      <description>Try:&lt;BR /&gt;&lt;BR /&gt;osiping NSAPs &amp;gt; /tmp/osiping.log 2&amp;gt;&amp;amp;1&lt;BR /&gt;&lt;BR /&gt;- Biswajit&lt;BR /&gt;</description>
      <pubDate>Sun, 31 Jul 2005 22:44:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/standard-output-redirect-from-script/m-p/3593313#M231708</guid>
      <dc:creator>Biswajit Tripathy</dc:creator>
      <dc:date>2005-07-31T22:44:26Z</dc:date>
    </item>
    <item>
      <title>Re: standard output redirect from script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/standard-output-redirect-from-script/m-p/3593314#M231709</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Could you try using &lt;BR /&gt;&lt;BR /&gt;osiping NSAPs &amp;gt;/tmp/osiping.log &lt;BR /&gt;&lt;BR /&gt;for only redirecting standard output.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Devender</description>
      <pubDate>Sun, 31 Jul 2005 23:31:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/standard-output-redirect-from-script/m-p/3593314#M231709</guid>
      <dc:creator>Devender Khatana</dc:creator>
      <dc:date>2005-07-31T23:31:51Z</dc:date>
    </item>
    <item>
      <title>Re: standard output redirect from script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/standard-output-redirect-from-script/m-p/3593315#M231710</link>
      <description>You have to try as,&lt;BR /&gt;&lt;BR /&gt;# osiping NSAPs 1&amp;gt;/tmp/osiping.log 2&amp;gt;&amp;amp;1 &amp;amp;&lt;BR /&gt;&lt;BR /&gt;If you use &amp;amp; you can monitor log file in same terminal.&lt;BR /&gt;&lt;BR /&gt;It will run into background and you can monitor it as,&lt;BR /&gt;&lt;BR /&gt;# tail -f /tmp/osiping.log&lt;BR /&gt;&lt;BR /&gt;Problem in your script is, you are redirecting standard error to standard output but did not redirect standart output to log file.&lt;BR /&gt;&lt;BR /&gt;hth.</description>
      <pubDate>Mon, 01 Aug 2005 00:57:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/standard-output-redirect-from-script/m-p/3593315#M231710</guid>
      <dc:creator>Muthukumar_5</dc:creator>
      <dc:date>2005-08-01T00:57:17Z</dc:date>
    </item>
  </channel>
</rss>

