<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>kill &amp;mdash; alan</title>
    <link>https://www.franzoni.eu/alan/tag:kill</link>
    <description>Alan&#39;s musings</description>
    <language>en</language>
    <pubDate>Tue, 17 Nov 2026 00:52:48 +0000</pubDate>
    <item>
      <title>Kill Me Softly: killing a process The Right Way</title>
      <link>https://www.franzoni.eu/alan/kill-me-softly-killing-a-process-the-right-way</link>
      <description>&lt;![CDATA[I was tired of repeating the same old pattern. Send a kill signal. Check with pgrep. Did the process exit? Send a kill -9.&#xA;&#xA;Now all my knowledge has been permanently dumped here:&#xA;&#xA;Kill Me Softly on GitHub&#xA;&#xA;If you want to kill a process by letting it to exit gracefully, and yet kill it without mercy if it&#39;s too slow to exit, that&#39;s your new favourite shell script.&#xA;&#xA;You can discuss this on Hacker News as well&#xA;&#xA;#MostlyUnixish #linux #processmanagement #kill&#xA;]]&gt;</description>
      <content:encoded><![CDATA[<p>I was tired of repeating the same old pattern. Send a kill signal. Check with pgrep. Did the process exit? Send a kill -9.</p>

<p>Now all my knowledge has been permanently dumped here:</p>

<p><a href="https://github.com/alanfranz/killmesoftly" rel="nofollow">Kill Me Softly on GitHub</a></p>

<p>If you want to kill a process by letting it to exit gracefully, and yet kill it without mercy if it&#39;s too slow to exit, that&#39;s your new favourite shell script.</p>

<p>You can discuss this on <a href="https://news.ycombinator.com/item?id=8758057" rel="nofollow">Hacker News</a> as well</p>

<p><a href="/alan/tag:MostlyUnixish" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">MostlyUnixish</span></a> <a href="/alan/tag:linux" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">linux</span></a> <a href="/alan/tag:processmanagement" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">processmanagement</span></a> <a href="/alan/tag:kill" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">kill</span></a></p>
]]></content:encoded>
      <guid>https://www.franzoni.eu/alan/kill-me-softly-killing-a-process-the-right-way</guid>
      <pubDate>Tue, 16 Dec 2014 22:30:00 +0000</pubDate>
    </item>
  </channel>
</rss>