<?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: Terminal Server Problems - need script help in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/terminal-server-problems-need-script-help/m-p/2751844#M834779</link>
    <description>Hi Jim:&lt;BR /&gt;&lt;BR /&gt;If is read this correctly, once you have done your 'grep', pipe to 'cut' like this"&lt;BR /&gt;&lt;BR /&gt;# ... |cut -d" " -f9-&lt;BR /&gt;&lt;BR /&gt;Hence:&lt;BR /&gt;&lt;BR /&gt;# echo "root 81058 1 0 Feb 23 - 1:06 /etc/ioland -C -F -T -h -K60 -p a0xxx01 10001 ptyp0 ttyp0" | cut -d" " -f9-&lt;BR /&gt;&lt;BR /&gt;...returns:&lt;BR /&gt;&lt;BR /&gt;etc/ioland -C -F -T -h -K60 -p a0xxx01 10001 ptyp0 ttyp0 &lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...&lt;BR /&gt; &lt;BR /&gt;</description>
    <pubDate>Tue, 25 Jun 2002 15:20:58 GMT</pubDate>
    <dc:creator>James R. Ferguson</dc:creator>
    <dc:date>2002-06-25T15:20:58Z</dc:date>
    <item>
      <title>Terminal Server Problems - need script help</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/terminal-server-problems-need-script-help/m-p/2751843#M834778</link>
      <description>We have terminal servers where the process gets hung up and needs to be killed and restarted. These devices would have a process that runs against a terminal server port - so we could grep on that and then use the port name again to restart it. Anyone have good scripting knowledge ?&lt;BR /&gt;for an example a problem with a station that is named pps_t01 and it is linked to /dev/ttyp0 and a grep of the process returns this :&lt;BR /&gt;&lt;BR /&gt; root  81058      1   0   Feb 23      -  1:06 /etc/ioland -C -F -T -h -K60 -p a0xxx01 10001 ptyp0 ttyp0&lt;BR /&gt; root 384590  81058   0   Jun 04      -  0:27 /etc/ioland -C -F -T -h -K60 -p a0xxx01 10001 ptyp0 ttyp0&lt;BR /&gt;&lt;BR /&gt;then a kill of the processes and to restart would be :&lt;BR /&gt;&lt;BR /&gt;etc/ioland -C -F -T -h -K60 -p a0xxx01 10001 ptyp0 ttyp0&lt;BR /&gt;&lt;BR /&gt;So I would need to connect the link to the port - kill the process and run the command to start it...&lt;BR /&gt;</description>
      <pubDate>Tue, 25 Jun 2002 15:14:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/terminal-server-problems-need-script-help/m-p/2751843#M834778</guid>
      <dc:creator>Jim Lynn</dc:creator>
      <dc:date>2002-06-25T15:14:53Z</dc:date>
    </item>
    <item>
      <title>Re: Terminal Server Problems - need script help</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/terminal-server-problems-need-script-help/m-p/2751844#M834779</link>
      <description>Hi Jim:&lt;BR /&gt;&lt;BR /&gt;If is read this correctly, once you have done your 'grep', pipe to 'cut' like this"&lt;BR /&gt;&lt;BR /&gt;# ... |cut -d" " -f9-&lt;BR /&gt;&lt;BR /&gt;Hence:&lt;BR /&gt;&lt;BR /&gt;# echo "root 81058 1 0 Feb 23 - 1:06 /etc/ioland -C -F -T -h -K60 -p a0xxx01 10001 ptyp0 ttyp0" | cut -d" " -f9-&lt;BR /&gt;&lt;BR /&gt;...returns:&lt;BR /&gt;&lt;BR /&gt;etc/ioland -C -F -T -h -K60 -p a0xxx01 10001 ptyp0 ttyp0 &lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...&lt;BR /&gt; &lt;BR /&gt;</description>
      <pubDate>Tue, 25 Jun 2002 15:20:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/terminal-server-problems-need-script-help/m-p/2751844#M834779</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2002-06-25T15:20:58Z</dc:date>
    </item>
  </channel>
</rss>

