<?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: Kill a specific process in ExtremeSwitching (EXOS/Switch Engine)</title>
    <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/kill-a-specific-process/m-p/80759#M19991</link>
    <description>Hi Drew,&lt;BR /&gt;
&lt;BR /&gt;
Thanks for responding.&lt;BR /&gt;
&lt;BR /&gt;
I wanted to try and restart that process, but wasn't 100% sure on the effect? I have to be completely safe there would be no side effect to the switches general operation?&lt;BR /&gt;
&lt;BR /&gt;
Was thinking in that aiming just for the process ID it would be safer, but seems there is two problems with that in that I need GTAC support and that it may reboot the switch?&lt;BR /&gt;
&lt;BR /&gt;
Do you know if those commands are safe?&lt;BR /&gt;
&lt;BR /&gt;
Cheers.</description>
    <pubDate>Thu, 15 Aug 2019 01:17:15 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-08-15T01:17:15Z</dc:date>
    <item>
      <title>Kill a specific process</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/kill-a-specific-process/m-p/80755#M19987</link>
      <description>Hi There,&lt;BR /&gt;
&lt;BR /&gt;
Wondering if its is possible to kill a specific process based on ID. I ask as currently experiencing this issue:&lt;BR /&gt;
&lt;BR /&gt;
&lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;AP870-1.2 # show tech-support&lt;BR /&gt;Another session is already collecting system information&lt;BR /&gt;&lt;BR /&gt;AP870-1.3 # show session&lt;BR /&gt;                               CLI&lt;BR /&gt;  #    Login Time        User   Type  Auth  Auth Location&lt;BR /&gt;================================================================================&lt;BR /&gt;*132    Wed Aug 14 18:14:59 2019 XMCac .. ssh2  local dis xxx.227.102.250&lt;BR /&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
When I do a top I see this entry:&lt;BR /&gt;
&lt;BR /&gt;
&lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt; PID PPID USER   STAT  RSS %MEM CPU %CPU COMMAND&lt;BR /&gt; 9253 2578 root   S  11188 0.1  3 0.0 /exos/bin/expy -m showtech -- -u 1 -c show tech-support all detail&lt;BR /&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Wondering, do I perhaps just restart this process name:&lt;BR /&gt;
&lt;BR /&gt;
&lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;Process Name   Version Restart  State       Start Time    Group&lt;BR /&gt;-------------------------------------------------------------------------------&lt;BR /&gt;techSupport   1.0.0.0   0  Ready    Sat Jul 27 05:25:33 2019 EXOS&lt;BR /&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
or is there a way to kill the process by process ID?&lt;BR /&gt;
&lt;BR /&gt;
Version: 22.5.1.7 &lt;BR /&gt;
Switch: X870-96x-8c&lt;BR /&gt;
&lt;BR /&gt;
Many thanks in advance</description>
      <pubDate>Thu, 15 Aug 2019 00:29:08 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/kill-a-specific-process/m-p/80755#M19987</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-08-15T00:29:08Z</dc:date>
    </item>
    <item>
      <title>Re: Kill a specific process</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/kill-a-specific-process/m-p/80756#M19988</link>
      <description>There is a way through debug mode, GTAC should be able to sort it out for you. Keep in mind that the process &lt;I&gt;may&lt;/I&gt; reboot the switch, depending on the stability of the process.</description>
      <pubDate>Thu, 15 Aug 2019 00:32:02 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/kill-a-specific-process/m-p/80756#M19988</guid>
      <dc:creator>BradP</dc:creator>
      <dc:date>2019-08-15T00:32:02Z</dc:date>
    </item>
    <item>
      <title>Re: Kill a specific process</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/kill-a-specific-process/m-p/80757#M19989</link>
      <description>Ah, Ok, I'll give them a call. Thanks</description>
      <pubDate>Thu, 15 Aug 2019 00:33:41 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/kill-a-specific-process/m-p/80757#M19989</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-08-15T00:33:41Z</dc:date>
    </item>
    <item>
      <title>Re: Kill a specific process</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/kill-a-specific-process/m-p/80758#M19990</link>
      <description>&lt;USER-MENTION data-id="6835946"&gt;@Martin Flammia&lt;/USER-MENTION&gt;, Do either of these work?&lt;BR /&gt;
&lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;restart process techSupport&lt;BR /&gt;&lt;BR /&gt;OR&lt;BR /&gt;&lt;BR /&gt;terminate process techSupport graceful&lt;BR /&gt;&lt;/PRE&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 15 Aug 2019 01:03:19 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/kill-a-specific-process/m-p/80758#M19990</guid>
      <dc:creator>Drew_C</dc:creator>
      <dc:date>2019-08-15T01:03:19Z</dc:date>
    </item>
    <item>
      <title>Re: Kill a specific process</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/kill-a-specific-process/m-p/80759#M19991</link>
      <description>Hi Drew,&lt;BR /&gt;
&lt;BR /&gt;
Thanks for responding.&lt;BR /&gt;
&lt;BR /&gt;
I wanted to try and restart that process, but wasn't 100% sure on the effect? I have to be completely safe there would be no side effect to the switches general operation?&lt;BR /&gt;
&lt;BR /&gt;
Was thinking in that aiming just for the process ID it would be safer, but seems there is two problems with that in that I need GTAC support and that it may reboot the switch?&lt;BR /&gt;
&lt;BR /&gt;
Do you know if those commands are safe?&lt;BR /&gt;
&lt;BR /&gt;
Cheers.</description>
      <pubDate>Thu, 15 Aug 2019 01:17:15 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/kill-a-specific-process/m-p/80759#M19991</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-08-15T01:17:15Z</dc:date>
    </item>
    <item>
      <title>Re: Kill a specific process</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/kill-a-specific-process/m-p/80760#M19992</link>
      <description>I just tested in the lab on an X870 with 22.5.1 running. Restarting the techSupport process while a show tech all detail was running in another session didn't terminate hung show-tech. Which makes sense because show tech runs under python. You'll need GTAC's help to kill the specific PID.&lt;BR /&gt;
&lt;BR /&gt;
As long as the showtech PID is still 9253 when you're connected with someone, just get into debug mode and run &lt;B&gt;!kill 9253&lt;/B&gt;. Seemed to work in my test. While there are no guarantees it won't cause a problem, it seemed to be fine.&lt;BR /&gt;
&lt;BR /&gt;
Hopefully they'll want to find out why it hung in the first place. If that session is no longer valid, it might make sense to try to log to a file for further review:  &lt;B&gt;show tech-support all detail logto file&lt;/B&gt;&lt;BR /&gt;
I'll leave that decision to you and the engineer you work with </description>
      <pubDate>Thu, 15 Aug 2019 03:38:42 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/kill-a-specific-process/m-p/80760#M19992</guid>
      <dc:creator>Drew_C</dc:creator>
      <dc:date>2019-08-15T03:38:42Z</dc:date>
    </item>
    <item>
      <title>Re: Kill a specific process</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/kill-a-specific-process/m-p/80761#M19993</link>
      <description>Thanks to taking the time to lab that, really appreciated. Will do. Cheers</description>
      <pubDate>Thu, 15 Aug 2019 03:41:21 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/kill-a-specific-process/m-p/80761#M19993</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-08-15T03:41:21Z</dc:date>
    </item>
  </channel>
</rss>

