<?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 All command in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/kill-all-command/m-p/3138563#M8433</link>
    <description>Lol Mark.... &lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Mon, 08 Dec 2003 09:02:23 GMT</pubDate>
    <dc:creator>Kyle D. Harris</dc:creator>
    <dc:date>2003-12-08T09:02:23Z</dc:date>
    <item>
      <title>Kill All command</title>
      <link>https://community.hpe.com/t5/operating-system-linux/kill-all-command/m-p/3138557#M8427</link>
      <description>What do you do if say you have 100 processes and want maybe 90 killed. How do you kill 90 but keep 10? Is there a quick easy way? Thanks</description>
      <pubDate>Mon, 08 Dec 2003 07:51:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/kill-all-command/m-p/3138557#M8427</guid>
      <dc:creator>Kyle D. Harris</dc:creator>
      <dc:date>2003-12-08T07:51:35Z</dc:date>
    </item>
    <item>
      <title>Re: Kill All command</title>
      <link>https://community.hpe.com/t5/operating-system-linux/kill-all-command/m-p/3138558#M8428</link>
      <description>No there isn't.&lt;BR /&gt; &lt;BR /&gt;You could, of course, kill all 100 with the "killall" command and then start 10 up again.</description>
      <pubDate>Mon, 08 Dec 2003 08:02:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/kill-all-command/m-p/3138558#M8428</guid>
      <dc:creator>Mark Grant</dc:creator>
      <dc:date>2003-12-08T08:02:31Z</dc:date>
    </item>
    <item>
      <title>Re: Kill All command</title>
      <link>https://community.hpe.com/t5/operating-system-linux/kill-all-command/m-p/3138559#M8429</link>
      <description>kill -9 `ps -ef | grep process | awk '{print $2}' | tail -90`  &lt;BR /&gt;&lt;BR /&gt; ... or something like that. If your program is setup as a father/child then you will have to add some code not the kill the father.</description>
      <pubDate>Mon, 08 Dec 2003 08:36:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/kill-all-command/m-p/3138559#M8429</guid>
      <dc:creator>Olivier Drouin</dc:creator>
      <dc:date>2003-12-08T08:36:16Z</dc:date>
    </item>
    <item>
      <title>Re: Kill All command</title>
      <link>https://community.hpe.com/t5/operating-system-linux/kill-all-command/m-p/3138560#M8430</link>
      <description>Hi,&lt;BR /&gt; &lt;BR /&gt;how about something like:&lt;BR /&gt; &lt;BR /&gt;ps -ef |grep telnet | grep -v grep | awk '{print $2}' | tail +11 | xargs kill&lt;BR /&gt;&lt;BR /&gt;(just hoping "tail +n" is supported under Linux ;) &lt;BR /&gt;good luck,&lt;BR /&gt;Thierry.</description>
      <pubDate>Mon, 08 Dec 2003 08:42:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/kill-all-command/m-p/3138560#M8430</guid>
      <dc:creator>Thierry Poels_1</dc:creator>
      <dc:date>2003-12-08T08:42:05Z</dc:date>
    </item>
    <item>
      <title>Re: Kill All command</title>
      <link>https://community.hpe.com/t5/operating-system-linux/kill-all-command/m-p/3138561#M8431</link>
      <description>Shows how much I know :)&lt;BR /&gt; &lt;BR /&gt;However, I would point out that selecting processes by "grep" is rather dangerous as you can kill thinks you didn't expect unless extreme care is taken.&lt;BR /&gt; &lt;BR /&gt;Also, please don't kill -9 unless your really have to. -15 or just plain "kill" allows the process to exit gracefully, closing files and doing any clean up it requires whereas -9 kills it dead.  Many applications fail when you restart them if this happens.</description>
      <pubDate>Mon, 08 Dec 2003 08:56:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/kill-all-command/m-p/3138561#M8431</guid>
      <dc:creator>Mark Grant</dc:creator>
      <dc:date>2003-12-08T08:56:53Z</dc:date>
    </item>
    <item>
      <title>Re: Kill All command</title>
      <link>https://community.hpe.com/t5/operating-system-linux/kill-all-command/m-p/3138562#M8432</link>
      <description>And (no criticism here of course) yu don't really select which you kill and which you save, except that yu keep 10 of them...&lt;BR /&gt;&lt;BR /&gt;J</description>
      <pubDate>Mon, 08 Dec 2003 08:59:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/kill-all-command/m-p/3138562#M8432</guid>
      <dc:creator>Jerome Henry</dc:creator>
      <dc:date>2003-12-08T08:59:53Z</dc:date>
    </item>
    <item>
      <title>Re: Kill All command</title>
      <link>https://community.hpe.com/t5/operating-system-linux/kill-all-command/m-p/3138563#M8433</link>
      <description>Lol Mark.... &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 08 Dec 2003 09:02:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/kill-all-command/m-p/3138563#M8433</guid>
      <dc:creator>Kyle D. Harris</dc:creator>
      <dc:date>2003-12-08T09:02:23Z</dc:date>
    </item>
    <item>
      <title>Re: Kill All command</title>
      <link>https://community.hpe.com/t5/operating-system-linux/kill-all-command/m-p/3138564#M8434</link>
      <description>kill `ps -e | grep procname | awk '{print $1}' `&lt;BR /&gt;&lt;BR /&gt;- my favorite way -&lt;BR /&gt;&lt;BR /&gt;Good Luck&lt;BR /&gt;</description>
      <pubDate>Mon, 08 Dec 2003 11:58:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/kill-all-command/m-p/3138564#M8434</guid>
      <dc:creator>Jim Butler</dc:creator>
      <dc:date>2003-12-08T11:58:41Z</dc:date>
    </item>
    <item>
      <title>Re: Kill All command</title>
      <link>https://community.hpe.com/t5/operating-system-linux/kill-all-command/m-p/3138565#M8435</link>
      <description>Somebody mentioned father/child realations and to take care not to kill the father. That can also work the other way round. In case these are all sub processes of a single parent process it might be enough to just kill that parent process to make them all go away...</description>
      <pubDate>Mon, 08 Dec 2003 13:52:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/kill-all-command/m-p/3138565#M8435</guid>
      <dc:creator>Martin P.J. Zinser</dc:creator>
      <dc:date>2003-12-08T13:52:52Z</dc:date>
    </item>
  </channel>
</rss>

