<?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 Script problem in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/script-problem/m-p/2513824#M595907</link>
    <description>Currently, I've created a script to manipulate the lanadmin command. First i login to lanadmin and type lan and display to view the inbound octets value. This is the script :-&lt;BR /&gt;&lt;BR /&gt;lanadmin &amp;lt;&amp;lt; EOF&lt;BR /&gt;lan display&lt;BR /&gt;?? ===&amp;gt; I need a &lt;RETURN&gt; key here. How ??&lt;BR /&gt;clear&lt;BR /&gt;??  ===&amp;gt;  I need to get the inbound octets  &lt;BR /&gt;          value. How ??&lt;BR /&gt;&lt;BR /&gt;I wish to get the value every mins. Any idea. &lt;BR /&gt;Thanks.&lt;BR /&gt;&lt;/RETURN&gt;</description>
    <pubDate>Thu, 05 Apr 2001 07:46:57 GMT</pubDate>
    <dc:creator>Kenn Chen</dc:creator>
    <dc:date>2001-04-05T07:46:57Z</dc:date>
    <item>
      <title>Script problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-problem/m-p/2513824#M595907</link>
      <description>Currently, I've created a script to manipulate the lanadmin command. First i login to lanadmin and type lan and display to view the inbound octets value. This is the script :-&lt;BR /&gt;&lt;BR /&gt;lanadmin &amp;lt;&amp;lt; EOF&lt;BR /&gt;lan display&lt;BR /&gt;?? ===&amp;gt; I need a &lt;RETURN&gt; key here. How ??&lt;BR /&gt;clear&lt;BR /&gt;??  ===&amp;gt;  I need to get the inbound octets  &lt;BR /&gt;          value. How ??&lt;BR /&gt;&lt;BR /&gt;I wish to get the value every mins. Any idea. &lt;BR /&gt;Thanks.&lt;BR /&gt;&lt;/RETURN&gt;</description>
      <pubDate>Thu, 05 Apr 2001 07:46:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-problem/m-p/2513824#M595907</guid>
      <dc:creator>Kenn Chen</dc:creator>
      <dc:date>2001-04-05T07:46:57Z</dc:date>
    </item>
    <item>
      <title>Re: Script problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-problem/m-p/2513825#M595908</link>
      <description>Maybe "EXPECT" can help,&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://expect.nist.gov/" target="_blank"&gt;http://expect.nist.gov/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Expect is a tool for automating interactive applications such as telnet, ftp, passwd, etc.  And of course it should work for lanadmin as well.&lt;BR /&gt;&lt;BR /&gt;~Philip</description>
      <pubDate>Thu, 05 Apr 2001 07:54:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-problem/m-p/2513825#M595908</guid>
      <dc:creator>Philip Chan_1</dc:creator>
      <dc:date>2001-04-05T07:54:16Z</dc:date>
    </item>
    <item>
      <title>Re: Script problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-problem/m-p/2513826#M595909</link>
      <description>if you make an input file to use with your script, let's call it input&lt;BR /&gt;&lt;BR /&gt;in vi you specify everything normally, where a return is simply a new line.&lt;BR /&gt;&lt;BR /&gt;If you want the actual value of a key specified in vi, you can in input mode press ^V followed by the key you want represented as the value.&lt;BR /&gt;&lt;BR /&gt;next use the input file as:&lt;BR /&gt;&lt;BR /&gt;lanadmin &amp;lt; input&lt;BR /&gt;&lt;BR /&gt;Good luck&lt;BR /&gt;&lt;BR /&gt;Uffe</description>
      <pubDate>Thu, 05 Apr 2001 07:54:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-problem/m-p/2513826#M595909</guid>
      <dc:creator>Uffe Gavnholt_1</dc:creator>
      <dc:date>2001-04-05T07:54:42Z</dc:date>
    </item>
    <item>
      <title>Re: Script problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-problem/m-p/2513827#M595910</link>
      <description>Chen,&lt;BR /&gt;&lt;BR /&gt;This should work;&lt;BR /&gt;&lt;BR /&gt;lanadmin &amp;lt;&amp;lt; !EOF 2&amp;gt;&amp;amp;1 | grep "Inbound Octets"&lt;BR /&gt;lan display&lt;BR /&gt;&lt;BR /&gt;q&lt;BR /&gt;!EOF&lt;BR /&gt;&lt;BR /&gt;Greetz, Danny&lt;BR /&gt;</description>
      <pubDate>Thu, 05 Apr 2001 08:20:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-problem/m-p/2513827#M595910</guid>
      <dc:creator>Danny Engelbarts</dc:creator>
      <dc:date>2001-04-05T08:20:25Z</dc:date>
    </item>
    <item>
      <title>Re: Script problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-problem/m-p/2513828#M595911</link>
      <description>Thanks. Could you pls to explain the script that you given such as &amp;lt;&amp;lt; 2 &amp;amp;1 'cos i dun have any script background. thanks.</description>
      <pubDate>Thu, 05 Apr 2001 09:16:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-problem/m-p/2513828#M595911</guid>
      <dc:creator>Kenn Chen</dc:creator>
      <dc:date>2001-04-05T09:16:51Z</dc:date>
    </item>
  </channel>
</rss>

