<?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/4732372#M386552</link>
    <description>Thanks ,&lt;BR /&gt;&lt;BR /&gt;I perfer to use script to check it as , I may be use it in various unix-like server .&lt;BR /&gt;&lt;BR /&gt;can advise what can i do ? thx</description>
    <pubDate>Fri, 31 Dec 2010 10:07:55 GMT</pubDate>
    <dc:creator>ivy1234</dc:creator>
    <dc:date>2010-12-31T10:07:55Z</dc:date>
    <item>
      <title>script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script/m-p/4732368#M386548</link>
      <description>we have a server that always have problem ( we still can't find the reason ) and hang , we want to have a script ( run on another server ) to test the server is running or not , we want to run telnet to access this server , if the login prompt retun ( that mean the server is still active ) , then do nothing , if no login prompt return , do send mail to alert me , can advise how to write this script ?&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;BR /&gt;</description>
      <pubDate>Fri, 31 Dec 2010 08:43:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script/m-p/4732368#M386548</guid>
      <dc:creator>ivy1234</dc:creator>
      <dc:date>2010-12-31T08:43:27Z</dc:date>
    </item>
    <item>
      <title>Re: script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script/m-p/4732369#M386549</link>
      <description>If you have a proliant with windows running, then install "UDN", this is probably exactly what you want (based on "ping").</description>
      <pubDate>Fri, 31 Dec 2010 08:55:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script/m-p/4732369#M386549</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2010-12-31T08:55:35Z</dc:date>
    </item>
    <item>
      <title>Re: script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script/m-p/4732370#M386550</link>
      <description>&amp;gt;Torsten: this is probably exactly what you want (based on ping).&lt;BR /&gt;&lt;BR /&gt;This may not be that useful.  I've had plenty of cases where ping worked but the system was hung.</description>
      <pubDate>Fri, 31 Dec 2010 09:23:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script/m-p/4732370#M386550</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2010-12-31T09:23:11Z</dc:date>
    </item>
    <item>
      <title>Re: script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script/m-p/4732371#M386551</link>
      <description>So a TOC and dump analyze would be the better way, maybe ...</description>
      <pubDate>Fri, 31 Dec 2010 09:35:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script/m-p/4732371#M386551</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2010-12-31T09:35:15Z</dc:date>
    </item>
    <item>
      <title>Re: script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script/m-p/4732372#M386552</link>
      <description>Thanks ,&lt;BR /&gt;&lt;BR /&gt;I perfer to use script to check it as , I may be use it in various unix-like server .&lt;BR /&gt;&lt;BR /&gt;can advise what can i do ? thx</description>
      <pubDate>Fri, 31 Dec 2010 10:07:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script/m-p/4732372#M386552</guid>
      <dc:creator>ivy1234</dc:creator>
      <dc:date>2010-12-31T10:07:55Z</dc:date>
    </item>
    <item>
      <title>Re: script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script/m-p/4732373#M386553</link>
      <description>Hey;&lt;BR /&gt;&lt;BR /&gt;You can write up a script in perl/expect that'll do exactly what you're looking for; however, that'll be a one-off script.  It does that and only that.&lt;BR /&gt;&lt;BR /&gt;It sounds like your best bet would be to get and install nagios (&lt;A href="http://www.nagios.org/" target="_blank"&gt;http://www.nagios.org/&lt;/A&gt; ).  It's a free monitoring tool with web based reporting and customizable alerting (pages, text messages, emails, etc).  Over and above telnet, it does monitoring on filesystem usage, cpu usage, memory usage, ssh, web, mail, database, etc, etc.&lt;BR /&gt;&lt;BR /&gt;You can also write your own plugins and pretty much have it monitor anything you want.  While a one-off script will do what you're asking for right here, you'll quickly find you want to monitor other things as well.  &lt;BR /&gt;&lt;BR /&gt;Don't reinvent the wheel if you don't have to.&lt;BR /&gt;&lt;BR /&gt;Doug</description>
      <pubDate>Fri, 31 Dec 2010 15:11:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script/m-p/4732373#M386553</guid>
      <dc:creator>Doug O'Leary</dc:creator>
      <dc:date>2010-12-31T15:11:03Z</dc:date>
    </item>
    <item>
      <title>Re: script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script/m-p/4732374#M386554</link>
      <description>&lt;!--!*#--&gt;
&lt;P&gt;&amp;gt; script&lt;BR /&gt;&lt;BR /&gt;Is that the most descriptive subject which&lt;BR /&gt;you could devise?&lt;BR /&gt;&lt;BR /&gt;&amp;gt; [...] various unix-like server .&lt;BR /&gt;&lt;BR /&gt;Not a very detailed description of anything.&lt;BR /&gt;&lt;BR /&gt;Did you try searching before asking? A Forum&lt;BR /&gt;search for keywords like, say,&lt;BR /&gt;telnet script&lt;BR /&gt;should have found some potentially useful old&lt;BR /&gt;threads, like, for example:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://h30499.www3.hp.com/t5/System-Administration/telnet-xx-xx-xx-port-how-break-the-connection-in-script/m-p/5202982#M463743" target="_blank"&gt;http://h30499.www3.hp.com/t5/System-Administration/telnet-xx-xx-xx-port-how-break-the-connection-in-script/m-p/5202982#M463743&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;However, a Telnet test might not be the&lt;BR /&gt;easiest or the most useful, depending on&lt;BR /&gt;exactly what "server is running" means to&lt;BR /&gt;you. For example, if the system under test&lt;BR /&gt;runs a Web server, then a program like wget&lt;BR /&gt;could be used to test its ability to serve a&lt;BR /&gt;Web page. Testing the actual function(s) of&lt;BR /&gt;interest may provide more useful information&lt;BR /&gt;than testing Telnet response can.&lt;/P&gt;</description>
      <pubDate>Mon, 08 Aug 2011 20:18:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script/m-p/4732374#M386554</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2011-08-08T20:18:56Z</dc:date>
    </item>
  </channel>
</rss>

