new media development ltd

software store

CFX_GetPID & CFX_KillProcess


CFX_GetPID & CFX_KillProcess - REGISTER AND DOWNLOAD FOR FREE!

CFX_GetPID returns the Windows process ID of any application that is running on your Cold Fusion Server. Its real power comes when used in combination with CFX_KillProcess. Using these two tags together allows you to identify and kill any process that is running on your server at any time.

CFX_KillProcess will kill any process running on your server that you have a Process ID for.



CFX_GetPID & CFX_KillProcess usage:

To kill the only instance of Word

<cfx_GetPID Processname="WINWORD.EXE">
<cfif CFX_GetPID.ProcessID NEQ -1>
	<cfx_KillProcess ProcessID="#CFX_GetPID.ProcessID#">
</cfif>

To retrieve all the task ProcessIDs and Process names currently running

<cfx_GetPID>
<cfdump var="#CFX_GetPID#">

To retrieve all the process ID's for a particular process

<cfx_GetPID Processname="svchost.exe">
<cfdump var="#CFX_GetPID#">

PLEASE NOTE: All our CFX tags and tools are for the Windows platform only.

Latest version released on 30-Apr-2005!

CFX_GetPID & CFX_KillProcess - REGISTER AND DOWNLOAD FOR FREE!

PLEASE NOTE: The price stated in USD is only an indication and payments collected by new media development will be converted at the rates prevailing at the time.