<?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: Linux Process Management: Command Line</title> <atom:link href="http://www.ghacks.net/2009/02/25/linux-process-management-command-line/feed/" rel="self" type="application/rss+xml" /><link>http://www.ghacks.net/2009/02/25/linux-process-management-command-line/</link> <description>A technology news blog covering software, mobile phones, gadgets, security, the Internet and other relevant areas.</description> <lastBuildDate>Sun, 12 Feb 2012 02:07:05 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>By: Anonymous</title><link>http://www.ghacks.net/2009/02/25/linux-process-management-command-line/comment-page-1/#comment-944152</link> <dc:creator>Anonymous</dc:creator> <pubDate>Sat, 19 Dec 2009 09:55:23 +0000</pubDate> <guid
isPermaLink="false">http://www.ghacks.net/?p=10739#comment-944152</guid> <description>I realize that this was a while ago, but there are better ways. To avoid having grep appear in your example, use a semantically null modifier:
[jlwallen ~]$ ps aux&#124;grep firefox
As for killall, it has a very different meaning on Solaris. This invited a better solution and, sure enough, one now exists. Instead of killall, use pkill. While pkill has some new options, that&#039;s not why it should replace killall; pkill has a sibling, pgrep, and pgrep is awesome.
Sometimes trying to kill a certain browser/platform made by Mozilla is like playing whack-a-mole. In Debian at least, that browser likes to hide processes under different names. So, when I need to kill it I run pgrep first to see what name it&#039;s hiding under and make sure that there won&#039;t be any collateral damage:
[jlwallen ~]$ pgrep -l fox; pgrep -l icew; pgrep -l xul; pgrep -l moz</description> <content:encoded><![CDATA[<p>I realize that this was a while ago, but there are better ways. To avoid having grep appear in your example, use a semantically null modifier:<br
/> [jlwallen ~]$ ps aux|grep firefox</p><p>As for killall, it has a very different meaning on Solaris. This invited a better solution and, sure enough, one now exists. Instead of killall, use pkill. While pkill has some new options, that&#8217;s not why it should replace killall; pkill has a sibling, pgrep, and pgrep is awesome.</p><p>Sometimes trying to kill a certain browser/platform made by Mozilla is like playing whack-a-mole. In Debian at least, that browser likes to hide processes under different names. So, when I need to kill it I run pgrep first to see what name it&#8217;s hiding under and make sure that there won&#8217;t be any collateral damage:<br
/> [jlwallen ~]$ pgrep -l fox; pgrep -l icew; pgrep -l xul; pgrep -l moz</p> ]]></content:encoded> </item> <item><title>By: nitesh</title><link>http://www.ghacks.net/2009/02/25/linux-process-management-command-line/comment-page-1/#comment-869539</link> <dc:creator>nitesh</dc:creator> <pubDate>Wed, 19 Aug 2009 12:25:33 +0000</pubDate> <guid
isPermaLink="false">http://www.ghacks.net/?p=10739#comment-869539</guid> <description>thanks fror informations</description> <content:encoded><![CDATA[<p>thanks fror informations</p> ]]></content:encoded> </item> <item><title>By: gB</title><link>http://www.ghacks.net/2009/02/25/linux-process-management-command-line/comment-page-1/#comment-655214</link> <dc:creator>gB</dc:creator> <pubDate>Thu, 26 Feb 2009 08:09:42 +0000</pubDate> <guid
isPermaLink="false">http://www.ghacks.net/?p=10739#comment-655214</guid> <description>Don&#039;t know if it&#039;s universal, but I use ps -A to get a listing of all PID&#039;s and their corresponding names. Just an alternative....</description> <content:encoded><![CDATA[<p>Don&#8217;t know if it&#8217;s universal, but I use ps -A to get a listing of all PID&#8217;s and their corresponding names. Just an alternative&#8230;.</p> ]]></content:encoded> </item> <item><title>By: jack</title><link>http://www.ghacks.net/2009/02/25/linux-process-management-command-line/comment-page-1/#comment-654313</link> <dc:creator>jack</dc:creator> <pubDate>Wed, 25 Feb 2009 12:59:41 +0000</pubDate> <guid
isPermaLink="false">http://www.ghacks.net/?p=10739#comment-654313</guid> <description>Ctl-Alt-Esc only works in KDE.
and you are right, you can use XKill but it&#039;s always been, in my opinion, safer to use the command. you accidentally click the xkill cursor on your root window and your root window could bonk out or X could restart.</description> <content:encoded><![CDATA[<p>Ctl-Alt-Esc only works in KDE.</p><p>and you are right, you can use XKill but it&#8217;s always been, in my opinion, safer to use the command. you accidentally click the xkill cursor on your root window and your root window could bonk out or X could restart.</p> ]]></content:encoded> </item> <item><title>By: hybrid-kernel</title><link>http://www.ghacks.net/2009/02/25/linux-process-management-command-line/comment-page-1/#comment-654147</link> <dc:creator>hybrid-kernel</dc:creator> <pubDate>Wed, 25 Feb 2009 04:24:45 +0000</pubDate> <guid
isPermaLink="false">http://www.ghacks.net/?p=10739#comment-654147</guid> <description>Why not mention (h)top as well? Very useful tools they are.
@abhijit: Is this a gnome only thing? I don&#039;t have it in openbox.  If anything, I just &#039;alt+f2&#039; and &#039;xkill&#039; and then click window. (Too lazy to bind a key-combo)</description> <content:encoded><![CDATA[<p>Why not mention (h)top as well? Very useful tools they are.</p><p>@abhijit: Is this a gnome only thing? I don&#8217;t have it in openbox.  If anything, I just &#8216;alt+f2&#8242; and &#8216;xkill&#8217; and then click window. (Too lazy to bind a key-combo)</p> ]]></content:encoded> </item> <item><title>By: abhijit</title><link>http://www.ghacks.net/2009/02/25/linux-process-management-command-line/comment-page-1/#comment-654133</link> <dc:creator>abhijit</dc:creator> <pubDate>Wed, 25 Feb 2009 03:59:02 +0000</pubDate> <guid
isPermaLink="false">http://www.ghacks.net/?p=10739#comment-654133</guid> <description>In case a window stops responding, you can also press Alt+Ctrl+Esc and then click on the application window. This kills the application without having to go to another terminal</description> <content:encoded><![CDATA[<p>In case a window stops responding, you can also press Alt+Ctrl+Esc and then click on the application window. This kills the application without having to go to another terminal</p> ]]></content:encoded> </item> </channel> </rss>
