<?xml version="1.0" encoding="utf-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: pgrep or pkill sometimes do not find process</title>
	<atom:link href="http://amazing-development.com/archives/2009/10/15/pgrep-or-pkill-do-not-find-process/feed/" rel="self" type="application/rss+xml" />
	<link>http://amazing-development.com/archives/2009/10/15/pgrep-or-pkill-do-not-find-process/</link>
	<description>ruby, java and the rest</description>
	<lastBuildDate>Sun, 25 Jul 2010 00:49:12 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: Frank Spychalski</title>
		<link>http://amazing-development.com/archives/2009/10/15/pgrep-or-pkill-do-not-find-process/comment-page-1/#comment-124482</link>
		<dc:creator>Frank Spychalski</dc:creator>
		<pubDate>Thu, 15 Oct 2009 11:52:55 +0000</pubDate>
		<guid isPermaLink="false">http://amazing-development.com/?p=415#comment-124482</guid>
		<description>Yes, it makes sense. But I was confused because I used a script which worked fine for $binary_name but failed when I used it for a binary with the -canary suffix.</description>
		<content:encoded><![CDATA[<p>Yes, it makes sense. But I was confused because I used a script which worked fine for $binary_name but failed when I used it for a binary with the -canary suffix.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike</title>
		<link>http://amazing-development.com/archives/2009/10/15/pgrep-or-pkill-do-not-find-process/comment-page-1/#comment-124481</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Thu, 15 Oct 2009 11:16:32 +0000</pubDate>
		<guid isPermaLink="false">http://amazing-development.com/?p=415#comment-124481</guid>
		<description>I think only the first 15 characters are saved in kernel space as the process name. For longer comparisons the argv needs to be read and that can be swapped out.

man pkill:

NOTES: The process name used for matching is limited to the 15 characters present in the output of /proc/pid/stat.  Use the -f option to match against the complete command line, /proc/pid/cmdline.</description>
		<content:encoded><![CDATA[<p>I think only the first 15 characters are saved in kernel space as the process name. For longer comparisons the argv needs to be read and that can be swapped out.</p>
<p>man pkill:</p>
<p>NOTES: The process name used for matching is limited to the 15 characters present in the output of /proc/pid/stat.  Use the -f option to match against the complete command line, /proc/pid/cmdline.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
