<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress.com" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>

<channel>
	<title>kill-process &amp;laquo; WordPress.com Tag Feed</title>
	<link>http://en.wordpress.com/tag/kill-process/</link>
	<description>Feed of posts on WordPress.com tagged "kill-process"</description>
	<pubDate>Fri, 04 Dec 2009 22:13:23 +0000</pubDate>

	<generator>http://en.wordpress.com/tags/</generator>
	<language>en</language>

<item>
<title><![CDATA[Dashboarding narratives]]></title>
<link>http://asepsotic.wordpress.com/2009/11/25/dashboarding-narratives/</link>
<pubDate>Wed, 25 Nov 2009 02:59:44 +0000</pubDate>
<dc:creator>Alastair</dc:creator>
<guid>http://asepsotic.wordpress.com/2009/11/25/dashboarding-narratives/</guid>
<description><![CDATA[Dear Teddy, There are too many narratives in operation. At least four. Don&#8217;t need so many at a]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Dear Teddy,</p>
<p>There are too many narratives in operation.</p>
<p>At least four.</p>
<p>Don&#8217;t need so many at any one time. Complicates.</p>
<p>Could you advise which to cut please? Or at least, which to store for the moment.</p>
<p>I&#8217;ll interface with them on my Dashboard and activate them based on context.</p>
<p>Thanks.</p>
<p>-</p>
<p>Emissary,</p>
<p>Why Teddy always sound so intelligent one?</p>
<p>You got one, I got one, he got one. Fact is fact wat.</p>
<p>So many codes one&#8230; So confusing. Suddenly talk halfway can talk about cookies and chocolates. Simi lanjiao. Can put inside mouth one means is food wat. Precisely cannot drink water through nose so put in the mouth lah.</p>
<p>Then he always say what wear jacket. Condom is condom = fact. I didn&#8217;t even need to know tautology to know that.</p>
<p>Why he always sound so gahmen one?</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Killing Processes on Server 2000 from VBScript]]></title>
<link>http://blog.christophermichaelwebb.com/2009/10/08/killing-processes-on-server-2000-from-vbscript/</link>
<pubDate>Fri, 09 Oct 2009 00:52:09 +0000</pubDate>
<dc:creator>chriswebb18</dc:creator>
<guid>http://blog.christophermichaelwebb.com/2009/10/08/killing-processes-on-server-2000-from-vbscript/</guid>
<description><![CDATA[Alright, so we have a report server that has a massive SQL database and is running Server 2000 SP4. ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Alright, so we have a report server that has a massive SQL database and is running Server 2000 SP4.  I honestly don&#8217;t know too much about it, because we have a DBA who does pretty much 90% of the maintenance/admin work on this server and the reports have nothing to do with the programs I work with.  Anyway, the reports that are run export the SQL data to Excel spreadsheets.  Once the report is run, the Excel process is left running.  This server is already extremely old and bogged down as is, so having over a hundred instances of Excel running on it wasn&#8217;t helping.  I wrote a script to check for all processes named &#8220;excel&#8221; and see how long they have been running, then kill the ones that were running for what seem to be too long of time.  I had some issues, because Server 2000 does not have all of the capabilies as 2003, obviously.  This script requires that you download pskill, part of the <a href="http://technet.microsoft....nternals/bb896683.aspx">PSTools suite from SysInternals(now Microsoft)</a>.  Now, while the script requires PSKill, it is able to run on server 2000/2003/2008(and 2000/xp/vista/7), so hopefully it is still useful to someone else out there.  The script is below and I tried to make sure it was well-commented to help you out.  Feel free to leave any suggestions/questions below.  Enjoy.</p>
<p><code><br />
''''This script requires pskill, part of the PSTools suite from SysInternals(now Microsoft).  This script is assuming pskill is in your path for cmd line(generally, c:\windows(winnt on 2000/nt)\system32\)</p>
<p> Option Explicit<br />
 Dim strComputer, objWMIService, colProcessList, objProcess, PDate, Days, Hrs, Min, Sec, objSWbemLocator, WshShell<br />
 strComputer = "."<br />
 Set WshShell = CreateObject("wscript.shell")<br />
 Set objWMIService = GetObject("winmgmts:{impersonationLevel=impersonate}!\\" &#38; strComputer &#38; "\root\cimv2")<br />
 Set colProcessList = objWMIService.ExecQuery("Select * from Win32_Process Where Name = 'Excel.exe'")  '  Replace Excel with whatever the process is you're looking for.<br />
 Do<br />
     If colProcessList.Count = 0 Then  ' This kills the script if the process we are looking for is not running.(also ties with last commented line for looping)<br />
          Exit Do<br />
     Else<br />
         For Each objProcess in colProcessList<br />
             If objProcess.CreationDate  "" Then<br />
                 PDate = Left(objProcess.CreationDate,14)  ' pulls the date process started in format: yyyymmddhhmmss<br />
                 Days = DateDiff("d",DateSerial(Left(PDate,4),Mid(PDate,5,2),Mid(PDate,7,2)),Date) ' find how many days process has been running<br />
                 Hrs = Hour(Now) - Mid(PDate,9,2) ' find how many hours process was running, if started same day<br />
                 Min = Minute(Now) - Mid(PDate,11,2) ' same but for minutes<br />
                 Sec = Second(Now) - Mid(Pdate,13,2) ' same but for seconds<br />
                 If Hrs &#62; 6 Then  '  This is where you specify how long the process has to have been running in order for it to be killed, so you don't kill active jobs.  Change it from "Hrs" to "Min" or "Sec" for minutes or seconds.  Change 6 to whatever number of units.(currently set to kill processes over 6 hours old)<br />
                     WshShell.Run "pskill -t " &#38; objProcess.ProcessId, 0, False<br />
                 Else<br />
                     If Days &#62; 0 Then  '  This is a failsafe to the previous "If".  Since it only detects how many hours process was running, if started same day.  This guarantees that it kills anything over a day old.<br />
                         WshShell.Run "pskill -t " &#38; objProcess.ProcessId, 0, False<br />
                     End If<br />
                 End If<br />
             End If<br />
         Next<br />
         WScript.Sleep 1000 ' wait before trying again<br />
         Set colProcessList = objWMIService.ExecQuery("Select * from Win32_Process Where Name = 'Excel.exe'") ' Recheck for processes ' This makes the script keep looking until there aren't any active processes.  i.e. a report is being run now, we will wait until it is done to kill the process and the script.<br />
     End If<br />
 Loop</code></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[How to Start and kill  a process  (exe) From dot net]]></title>
<link>http://indiandotnet.wordpress.com/2009/10/04/how-to-start-and-kill-a-process-exe-from-dot-net/</link>
<pubDate>Sun, 04 Oct 2009 11:55:32 +0000</pubDate>
<dc:creator>indiandotnet</dc:creator>
<guid>http://indiandotnet.wordpress.com/2009/10/04/how-to-start-and-kill-a-process-exe-from-dot-net/</guid>
<description><![CDATA[Hello friends, First of all sorry for such a late post bit busy in some other stuff but come back wi]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Hello friends,<br />
First of all sorry for such a late post bit busy in some other stuff but come back with bang.<br />
Today I will show you some simple but very interesting topic. So first topic is how to call a process from your code. And how to kill a particular process from your code.<br />
Its code is very simple just needs to understand once then you are perfect in this.<br />
The first thing you need to know there is base class for process which is System.Diagnostics<br />
I am showing you code right here so please with me for few moments.<br />
I am opening a Microsoft word application here.</p>
<blockquote><p>
Imports System<br />
Imports System.Diagnostics<br />
Imports System.Diagnostics.Process</p>
<p>Private Sub btnStartProcess_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnStartProcess.Click<br />
Try<br />
Dim oProcess As Process<br />
Dim startInfo As New ProcessStartInfo<br />
startInfo.FileName = “winword.exe”<br />
oProcess = Process.Start(startInfo)<br />
Catch ex As Exception<br />
Throw ex<br />
End Try<br />
End Sub</p></blockquote>
<p>In this way you can open a new Microsoft word application in similar manner you can open different other process. And also pass. Command line arguments to them.</p>
<p>Now if you want to close this application then its also easy. Just see below code and you will be master in that.</p>
<blockquote><p>
Private Sub btncloseProcess_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btncloseProcess.Click<br />
Try<br />
Dim oProcess As Process<br />
Process.GetProcessesByName(&#8220;winword.exe&#8221;)<br />
oProcess.Kill()<br />
Catch ex As Exception<br />
Throw ex<br />
End Try<br />
End Sub</p></blockquote>
<p>If you know the id of process then it could be more specific. To kill particular instance.<br />
In this way you can create and kill a process.<br />
In next session I will come up with some more interesting topics till than do your best enjoy programming, enjoy dot net.<br />
Thanks &#38; regards<br />
Rajat</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Matar procesos]]></title>
<link>http://misaplicaciones.wordpress.com/2009/09/22/matar-procesos/</link>
<pubDate>Tue, 22 Sep 2009 12:12:54 +0000</pubDate>
<dc:creator>ecarreras</dc:creator>
<guid>http://misaplicaciones.wordpress.com/2009/09/22/matar-procesos/</guid>
<description><![CDATA[Pequeña aplicación para matar procesos del sistema. Simplemente deberemos ejecutarla pasándole uno o]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Pequeña aplicación para matar procesos del sistema.</p>
<p>Simplemente deberemos ejecutarla pasándole uno o más argumentos, que serán los nombres de los procesos a matar.</p>
<p>Ejemplo: matarprocessos notepad firefox winword</p>
<p>Esperamos que os sea de ayuda!</p>
<p><a href="http://cid-4731cc22e6238651.skydrive.live.com/self.aspx/Public/MatarProcessos.zip">matarprocessos.zip</a></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Procedure to kill a session]]></title>
<link>http://jhdba.wordpress.com/2009/08/18/procedure-to-kill-a-session/</link>
<pubDate>Tue, 18 Aug 2009 10:16:03 +0000</pubDate>
<dc:creator>John Hallas</dc:creator>
<guid>http://jhdba.wordpress.com/2009/08/18/procedure-to-kill-a-session/</guid>
<description><![CDATA[On the Oracle-L mailing list a user requested a procedure to allow a developer to kill his own proce]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>On the Oracle-L mailing list a user requested a procedure to allow a developer to kill his own process. This contributed quite a few comments which I will list below and I posted a method that I use when I have the same requirement.</p>
<p>To create the stored procedure logon as a sysdba through sqlplus and explicitly grant the required rights to system and then create the procedure.</p>
<pre>
<pre>
<pre class="brush: xml;">
grant alter system to system;
grant select on sys.v_$session to system;

create or replace procedure system.killsession (killsid IN VARCHAR2)
as
killserial   varchar2(20);

begin
killserial:='none';
select serial#
into killserial
from sys.v_$session
where sid = killsid
and username = 'WES';

execute immediate 'alter system kill session ''' &amp;#124;&amp;#124; to_char (killsid) &amp;#124;&amp;#124; ', ' &amp;#124;&amp;#124; to_char (killserial) &amp;#124;&amp;#124; '''' ;

EXCEPTION
WHEN NO_DATA_FOUND THEN
dbms_output.put_line('The SID ' &amp;#124;&amp;#124; killsid &amp;#124;&amp;#124; ' does not exist or cannot be killed');

end ;
</pre>
</pre>
</pre>
<p>Grant execute on the procedure to the user</p>
<p>For example, userxxx needs access to kill sessions so you would type the following:-</p>
<pre>
<pre>
<pre class="brush: xml;">grant execute on system.killsession to userxxx;</pre>
</pre>
</pre>
<p>The user needs to know the sid of the session being killed. For example, if a user needs to kill a session with a SID of 140 they would type:-</p>
<pre>
<pre>
<pre>
<pre class="brush: xml;">set serveroutput on
exec system.killsession ('140');</pre>
</pre>
</pre>
</pre>
<p>If they get the following error then there is no SID with a username of WES currently connected:-</p>
<pre>The SID 140 does not exist or cannot be killed</pre>
<p>  The various thoughts on allowing such a procedure centred on two strands, security and practical considerations</p>
<p> </p>
<p><strong>Security issues</strong></p>
<ul>
<li>Why do they need to kill jobs, what is causing the issue<br />
What will developers want next<br />
Sarbanes-Oxley considerations</li>
</ul>
<p><strong>Practical</strong></p>
<ul>
<li>How do you know the developer will kill one of his own processes and not a co-worker (think apps or sysadm job)<br />
Can you use resource profiles to limit CPU usage<br />
Use a standby to allow unrestricted resource usage</li>
</ul>
<p>My view is that in certain development environments, for certain users it is reasonable to allow them to kill a process that is running rogue and as such I am happy to provide such a facility. This would not be allowed either unrestricted or in any sort of controlled environment such as production and pre-production.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[ubuntu ne nyong nge-hang?? ]]></title>
<link>http://oretoret.wordpress.com/2009/06/21/ubuntu-ne-nyong-nge-hang/</link>
<pubDate>Sun, 21 Jun 2009 13:23:52 +0000</pubDate>
<dc:creator>ibrahimabdullah</dc:creator>
<guid>http://oretoret.wordpress.com/2009/06/21/ubuntu-ne-nyong-nge-hang/</guid>
<description><![CDATA[بسم الله bismillahirrohmanirrohim tenang&#8230;. xixixi&#8230; alhamdulillah kebetulan maen ke temen]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>بسم الله<br />
bismillahirrohmanirrohim</p>
<p>tenang&#8230;. xixixi&#8230; alhamdulillah kebetulan maen ke temen liat laptopnya ng-hang yang juga pake ubuntu, tapi,, liat apa yang dia lakukan ketika nge-hang.. (hehe,, mungkin kalo ak ngadepin itu langsung pencet tombol power xixixi.. coz masih newbie juga) oke, caranya pas lagi nge-hang itu, tekan<strong> Ctrl + Alt + F1</strong> &#8230; kemudian anda akan dibawa ke fullscreen of console (the dark screen). intinya disitu kita mw merencanakan sebuah pembunuhan,, hehe,, maksudnya kill aplikasi yang dicurigai ngabot-ngabotin / bikin ng-hang tu kompi.. <!--more--></p>
<p>login pake user name n juga paswordnya, kemudian ketik command</p>
<p><strong>~$ ps aux</strong></p>
<p>command itu untuk melihat proses-proses yang sedang berjalan. langkah selanjutnya liat PID (process identification numbers) nya dari applikasi yang mau dibunuh,selanjutnya,</p>
<p>~$ kill &#60;nomor PID yang akan dibunuh&#62;</p>
<p>contoh</p>
<p><strong>~$ kill 5678</strong></p>
<p>kalo udah mati bener,, keluar dari the dark screen dengan tekan tombol <strong>Ctrl + Alt + F7</strong>,</p>
<p>gimana?</p>
<p>moga ad manfaatnya&#8230;</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Howto: Ctrl+Alt+Del open System Monitor in GNOME]]></title>
<link>http://jaidane.wordpress.com/2009/04/24/howto-ctrl-alt-del-open-system-monitor-in-gnome/</link>
<pubDate>Fri, 24 Apr 2009 18:48:13 +0000</pubDate>
<dc:creator>Maher</dc:creator>
<guid>http://jaidane.wordpress.com/2009/04/24/howto-ctrl-alt-del-open-system-monitor-in-gnome/</guid>
<description><![CDATA[If you want to open the System Monitor in Gnome just like Windows, here&#8217;s what you have to do ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>If you want to open the <span style="color:#99cc00;"><strong>System Monitor</strong></span> in <span style="color:#ffcc00;"><strong>Gnome</strong></span> just like Windows, here&#8217;s what you have to do :<br />
<br />
<img class="aligncenter size-full wp-image-425" title="ubuntu-system-monitor1" src="http://jaidane.wordpress.com/files/2009/04/ubuntu-system-monitor1.png" alt="ubuntu-system-monitor1" width="393" height="270" /><br />
<br />
<span style="color:#ff9900;">1)</span> Disable the current Ctrl+Alt+Del combination (Logout) :</p>
<p>In Ubuntu Go to <strong>System -&#62;Preferences -&#62;Keyboard Shortcuts -&#62; Desktop </strong>disable logout shortcut (hit backspace) if it&#8217;s associated with Ctrl+Alt+Del.</p>
<p><span style="color:#ff9900;">2)</span> Enter these commands in a shell :
<p>&#160;</p>
<pre><tt><span style="background-color:#2C2C2C;font-size:10px;padding:20px;">gconftool-2 -t str --set /apps/metacity/global_keybindings/run_command_1 "Delete"
</span></tt></pre>
<p>&#160;</p>
<pre><tt><span style="background-color:#2C2C2C;font-size:10px;padding:20px;">gconftool-2 -t str --set /apps/metacity/keybinding_commands/command_1 "gnome-system-monitor"
</span></tt></pre>
<p>&#160;</p>
<p>Note that these are Metacity global keybindings, <strong>normally you should have the 12 run commands disabled</strong> so you can use 1 to 12 numbers range in <span style="color:#cfd0c7;"><em>run_command_x</em></span> and <span style="color:#cfd0c7;"><em>command_x</em></span>,<span style="color:#ff6600;"> <span style="color:#ff9900;">it&#8217;s always better to check</span></span> their current status, hit Alt+F2 enter gconf-editor then open <span style="color:#daeb98;">apps -&#62; metacity -&#62; global_keybindings</span>.</p>
<p>I got this informations reading <a href="http://cviorel.easyblog.ro/2009/01/26/ctrlaltdel-to-open-system-monitor-in-ubuntu/" target="_blank"><span style="color:#99cc00;">this excellent post</span></a>. Take also a look at <a href="http://ubuntuguide.org/wiki/Ubuntu:Feisty#How_to_enable_Ctrl.2BAlt.2BDel_to_open_System_Monitor_in_GNOME" target="_blank"><span style="color:#ffff99;">Ubuntu Guide</span></a>.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[(Politely) Kill Explorer.exe]]></title>
<link>http://thesmilingpirate.com/2009/03/02/tip-politely-kill-explorerexe/</link>
<pubDate>Mon, 02 Mar 2009 15:48:04 +0000</pubDate>
<dc:creator>sonicmuzik</dc:creator>
<guid>http://thesmilingpirate.com/2009/03/02/tip-politely-kill-explorerexe/</guid>
<description><![CDATA[How to quit Explorer, the executable, without shutting down or logging off: Go to Start &gt; Shutdow]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><div class="entry">
<p>How to <strong>quit</strong> Explorer, the executable, without shutting down or logging off:</p>
<p>Go to Start &#62; Shutdown. When the dialog appears, hold CTRL+ALT+SHIFT and press Cancel. Explorer will cleanly unload all of it’s resources and shutdown. To start it back up, open Task Manager (CTRL+SHIFT+ESC is one way) and go to File &#62; New Task and run ‘explorer’.</p>
<p>This method was designed for people writing plug-ins and handlers for Explorer who needed to be able to unload it all and start fresh without rebooting or uncleanly killing Explorer’s process.</p></div>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Kill Process]]></title>
<link>http://h4x0r1ng.wordpress.com/2009/02/16/kill-process/</link>
<pubDate>Mon, 16 Feb 2009 22:07:50 +0000</pubDate>
<dc:creator>pr0t0h4ck</dc:creator>
<guid>http://h4x0r1ng.wordpress.com/2009/02/16/kill-process/</guid>
<description><![CDATA[Kill Process function: BOOL KillProcess(char *Process) { int result; HANDLE hProcessSnap = 0; HANDLE]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Kill Process function:</p>
<blockquote><p>BOOL KillProcess(char *Process)<br />
{<br />
int result;<br />
HANDLE hProcessSnap = 0;<br />
HANDLE hProcess = 0;<br />
HANDLE hSnapshot = 0;<br />
PROCESSENTRY32 pe32;<br />
hProcessSnap = CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS, 0);</p>
<p>pe32.dwSize = sizeof(PROCESSENTRY32);</p>
<p>Process32First(hProcessSnap, &#38;pe32);</p>
<p>while(Process32Next(hProcessSnap, &#38;pe32))<br />
{<br />
if(!strcmp(pe32.szExeFile, Process))<br />
{<br />
result = 1;</p>
<p>hProcess = OpenProcess(PROCESS_TERMINATE, 0, pe32.th32ProcessID);</p>
<p>if(TerminateProcess(hProcess, 0) == 0)<br />
{<br />
//MessageBox(NULL, &#8220;Terminating process failed !&#8221;, &#8220;KillProcess&#8221;, MB_OK &#124; MB_ICONERROR);<br />
}</p>
<p>else<br />
{</p>
<p>}<br />
}<br />
}</p>
<p>CloseHandle(hProcess);<br />
CloseHandle(hProcessSnap);</p>
<p>if(result == 0)<br />
//MessageBox(NULL, &#8220;Process cannot be found !&#8221;, &#8220;KillProcess&#8221;, MB_OK &#124; MB_ICONWARNING);</p>
<p>result = 0;<br />
return TRUE;<br />
}
</p></blockquote>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[C# Winforms: Disallow multiple instances of your application]]></title>
<link>http://hashfactor.wordpress.com/2009/01/29/c-winforms-disallow-multiple-instances-of-your-application/</link>
<pubDate>Wed, 28 Jan 2009 15:12:31 +0000</pubDate>
<dc:creator>hashfactor</dc:creator>
<guid>http://hashfactor.wordpress.com/2009/01/29/c-winforms-disallow-multiple-instances-of-your-application/</guid>
<description><![CDATA[I have found the following solution to disallow multiple instances of my WinForms application: using]]></description>
<content:encoded><![CDATA[I have found the following solution to disallow multiple instances of my WinForms application: using]]></content:encoded>
</item>
<item>
<title><![CDATA[Kill Process From Visual Basic]]></title>
<link>http://zakariaindra.wordpress.com/2008/12/30/kill-process-from-visual-basic/</link>
<pubDate>Mon, 29 Dec 2008 17:12:58 +0000</pubDate>
<dc:creator>zakariaindra</dc:creator>
<guid>http://zakariaindra.wordpress.com/2008/12/30/kill-process-from-visual-basic/</guid>
<description><![CDATA[Bila sebelumnya dijelaskan teknik untuk menjalankan program dari suatu program utama yang dibuat dal]]></description>
<content:encoded><![CDATA[Bila sebelumnya dijelaskan teknik untuk menjalankan program dari suatu program utama yang dibuat dal]]></content:encoded>
</item>
<item>
<title><![CDATA[[ kill process in linux ]]]></title>
<link>http://orangletrik.wordpress.com/2008/10/10/kill-process-in-linux/</link>
<pubDate>Fri, 10 Oct 2008 01:52:14 +0000</pubDate>
<dc:creator>orang_letrik</dc:creator>
<guid>http://orangletrik.wordpress.com/2008/10/10/kill-process-in-linux/</guid>
<description><![CDATA[How do I kill process in Linux. ::kill command:: 1. Use this command. # ps -ef | grep -i &lt;your-ta]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><strong>How do I kill process in Linux.</strong></p>
<p><strong>::kill command::</strong></p>
<p>1. Use this command.</p>
<p># <em>ps -ef &#124; grep -i &#60;your-target-process&#62;</em></p>
<p>OR</p>
<p># <em>ps aux &#124; grep &#60;your-target-process&#62;</em></p>
<p>e.g: # ps -ef &#124; grep -i jboss</p>
<p>2. Then, choose your target Process ID</p>
<p># <em>kill 9821</em></p>
<p>OR</p>
<p># <em>kill -9 9821</em></p>
<p><em><strong>note:</strong></em> <em>-9 is special Kill signal, which kill the process</em></p>
<p>3. Done</p>
<p><strong>::killall command::</strong></p>
<p>1. Use this command.</p>
<p># <em>killall -9 &#60;your-target-process&#62;</em></p>
<p>e.g: # killall -9 firefox</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[mac os x - activity monitor]]></title>
<link>http://kanabies.wordpress.com/2008/07/10/mac-os-x-activity-monitor/</link>
<pubDate>Thu, 10 Jul 2008 07:41:27 +0000</pubDate>
<dc:creator>--</dc:creator>
<guid>http://kanabies.wordpress.com/2008/07/10/mac-os-x-activity-monitor/</guid>
<description><![CDATA[==================================================================== title: mac os x &#8211; rdc200 ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>====================================================================<br />
title: mac os x &#8211; rdc200<br />
post author: SGK<br />
date posted: July, 10th 2008<br />
posted in: Tips&#38;Trick<br />
====================================================================</p>
<p><strong>apa itu activity monitor</strong></p>
<p>activity monitor itu bisa dibilang &#8220;task manager&#8221; nya mac os x &#8230; doi bertugas buat ngemonitor kegiatan (aplikasi yang berjalan) di macintosh. kalo ada aplikasi yang ngadat, alias ga mau di &#8220;quit&#8221; atau bahkan ga mau di &#8220;force quit&#8221;, buka aja activity monitor, bisa diakses di /Applications/Utilities ,trus pilih aplikasi yang ngadat(biasanya textnya warna merah, trus ada embel2: &#8220;not responding&#8221; di process name-nya) trus klik tombol &#8220;quit process&#8221;. kita juga bisa filter aktivitas yang jalan berdasarkan nama prosesnya atau pilih dropbox buat filter berdasarkan user/penggunanya. nah yang ngebedain ama &#8220;task manager&#8221; punyanya windows adalah tombol &#8220;sample process&#8221; di activity monitor, tombol ini buat ngambil sampling dari proses yang dijalanin ama si aplikasi &#8230; ini beberapa baris pertama dari contoh pengambilan sampling proses aplikasi yang lagi jalan:</p>
<p>Sampling process 2175 for 3 seconds with 1 millisecond of run time between samples<br />
Sampling completed, processing symbols&#8230;<br />
Analysis of sampling Uplink (pid 2175) every 1 millisecond<br />
Call graph:<br />
1909 Thread_2503<br />
1909 start<br />
1909 _start<br />
1909 main<br />
1909 NSApplicationMain<br />
1909 -[NSApplication run]<br />
1909 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:]<br />
1909 _DPSNextEvent<br />
1909 AEProcessAppleEvent<br />
1909 aeProcessAppleEvent</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Process Explorer - Un Task Manager avanzato]]></title>
<link>http://61miles.wordpress.com/2008/02/11/process-explorer-un-task-manager-avanzato/</link>
<pubDate>Mon, 11 Feb 2008 15:52:40 +0000</pubDate>
<dc:creator>61miles</dc:creator>
<guid>http://61miles.wordpress.com/2008/02/11/process-explorer-un-task-manager-avanzato/</guid>
<description><![CDATA[Quale &#8220;simpatico&#8221; programma sta utilizzando quel file o cartella particolari rimasti ape]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><a href="http://img159.imageshack.us/my.php?image=processexplorergz3.jpg" target="_blank"><img src="http://img159.imageshack.us/img159/5910/processexplorergz3.th.jpg" alt="Free Image Hosting at www.ImageShack.us" border="0" /></a></p>
<p>Quale &#8220;simpatico&#8221; programma sta utilizzando quel file o cartella particolari rimasti aperti? Ora puoi scoprirlo. Process Explorer, utilità scritta da <b>Mark Russinovich</b>, ti mostra le informazioni sul file aperto o caricato dai processi DLL.</p>
<p>La videata di Process Explorer è composta da due riquadri; quello superiore mostra sempre una lista dei processi correntemente attivi, includendo i nomi dei rispettivi account proprietari, mentre le informazioni mostrate nel riquadro inferiore dipendono dalla modalità di visualizzazione di Process Explorer: se è in modalità handle vedrai nella finestra superiore gli handles che il processo selezionato ha aperto; se Process Explorer è in modalità DLL vedrai le DLL e come sono organizzati i files in memoria caricati dal processo. Process Explorer ha anche una potente capacità di ricerca che ti mostrerà rapidamente quali processi hanno aperto quei particolari handles o caricato quelle particolari DLL.</p>
<p>Le potenzialità uniche di Process Explorer lo rendono utile per la ricerca automatica delle versioni DLL dei problemi o degli handle problematici, e fornisce insieme le applicazioni Windows che li utilizzano.</p>
<p>Process Explorer può essere utilizzato con Windows 9x/Me, Windows NT 4.0, Windows 2000, Windows XP, Server 2003 e Windows Vista, e con versioni di Windows a 64-bit, con processori x64 e IA64.<br />
<a href="http://img134.imageshack.us/my.php?image=processexplorer1yj9.jpg" target="_blank"><img src="http://img134.imageshack.us/img134/5076/processexplorer1yj9.th.jpg" alt="Free Image Hosting at www.ImageShack.us" border="0" /></a></p>
<p><b>Download Process Explorer (1.6 MB)</b></p>
<p><img src="http://img.microsoft.com/library/media/1033/technet/images/sysinternals/icons/55x55_download.gif" /><b><a href="http://download.sysinternals.com/Files/ProcessExplorer.zip" title="Download Process Explorer">Link</a></b></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[More Response from Organic Meat Farms]]></title>
<link>http://thecleanse.wordpress.com/2008/02/07/more-response-from-organic-meat-farms/</link>
<pubDate>Thu, 07 Feb 2008 19:40:03 +0000</pubDate>
<dc:creator>thecleanse</dc:creator>
<guid>http://thecleanse.wordpress.com/2008/02/07/more-response-from-organic-meat-farms/</guid>
<description><![CDATA[from blackwing.com: &#8220;We belong to the Certified Humane Raised &amp; Handled so please look at ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p align="justify"><font color="#000000"><em>from blackwing.com:</em></font></p>
<p align="justify"><font color="#808000"><em>&#8220;We belong to the <a target="_blank" href="http://www.certifiedhumane.org/">Certified Humane Raised &#38; Handled</a> so please look at their Web site for rules on Handling.</em></font></p>
<p align="justify"><font color="#808000"><em>We do not use probes, Our animals can not &#38; are not ever under stress. All our truly Free ranged and not by the ridiculous USDA interpretations. Our bison, Beef &#38; Ostrich are all grazed on 20-45,000 acre parcels. Our Chicken &#38; Turkey are Pasture raised and have shelter to run into.</em></font></p>
<p align="justify"><font color="#808000"><em>We harvest Bison &#38; Beef in a kosher facility making them certified in perfect health and the plant was designed by Dr. Temple Grandin of Colorado State U. I hope I have answered your concerns&#8221;</em></font></p>
<p align="justify"><font color="#808000">&#8230;&#8230;&#8230;&#8230;.</font></p>
<p align="justify"><font color="#000000"><em>from tropicaltraditions.com:</em></font></p>
<p align="justify"><font color="#808000"><em>&#8220;Thank you for contacting Tropical Traditions!  We would like to  reassure you that our company is just as concerned as you are about the production methods and practices surrounding the products we offer on our  website.  We research our products intensively, in order to determine  whether they meet our extremely high standards, and we place a high value  on ethical integrity.  All of our animals are processed as humanely as  possible.&#8221;</em></font></p>
<p><font color="#808000"><em><font color="#808000">&#8230;&#8230;&#8230;&#8230;.</font></em></font></p>
<p><font color="#000000"><em>from lavalakelamb.com:</em></font></p>
<p><font color="#808000"><em>&#8220;Both of our our processing plants are relatively small and I am in constant communication with them during our processing. I personally go over and spend time with the owners as well as watch the kill process periodically so that I know how they treat the animals. They only kill our animals when there is an USDA inspector on site, in order to meet standards. We take our own animals to the plant and unload them ourselves. I am confident that even though we do have to kill the animal to provide our product, the animals are treated humanely and as low stress as possible.&#8221;<br />
</em></font><font color="#808000"><em></p>
<p align="justify">&#160;</p>
<p></em></font></p>
<p align="justify"><font color="#808000"><em></em></font></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Soalris: Kill a process which is using a particular port number]]></title>
<link>http://vishnuagrawal.wordpress.com/2007/09/05/soalris-kill-a-process-which-is-using-a-particular-port-number/</link>
<pubDate>Wed, 05 Sep 2007 11:30:00 +0000</pubDate>
<dc:creator>vishnuagrawal</dc:creator>
<guid>http://vishnuagrawal.wordpress.com/2007/09/05/soalris-kill-a-process-which-is-using-a-particular-port-number/</guid>
<description><![CDATA[Today i came across a problem in solaris. The problem was that while starting my application server,]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Today i came across a problem in solaris. The problem was that while starting my application server, it was throwing an error &#8220;Address already in use&#8221;.</p>
<p>My app server is a java process and there are many other java process which are running on my zone. But the issue is, how may i know that which java process is using that particular port?</p>
<p>I followed following steps:<br />
1. List all the java process running on my zone ( ps -eaf &#124;grep vagrawal&#124; grep java )<br />
2. Go through each java process and check if it using that particular port ( pfiles $pid&#124;grep 1182 )<br />
(here $pid is the process id of the java process and 1182 is the port number of which i am looking for)</p>
<p>Above method works fine but it is bit a long process, as i have to run step 2 for all java processes, so i ran a folowing command on my console:</p>
<p><span style="font-style:italic;font-weight:bold;color:#ff0000;">for pid in `ps -eaf&#124;grep vagrawal&#124;grep java&#124;grep -v grep&#124;awk -F&#8221; &#8221; &#8216;{print $2}&#8217;`; do echo ================= $pid &#62;&#62;myfile; pfiles $pid&#124;grep 1182 &#62;&#62;myfile; done</span></p>
<p>above loop goes through all the java process and write there process IDs in the file &#8216;myfile&#8217;, and i am also checking usage of my port for that particular process (using pfiles) and prints its output in same file.</p>
<p>Finally there would be a single process which would be using that particular port. Now I can find easily that process  in &#8216;myfile&#8217;</p>
<p>Now i have process ID of the process which is occupying my port, and i can kill that by <span style="font-weight:bold;font-style:italic;color:#ff0000;">kill -9 pid</span></p>
</div>]]></content:encoded>
</item>

</channel>
</rss>
