> <cfsavecontent variable="pList">
> <cfexecute name="c:\program files\support tools\tlist.exe"
> arguments="-s" timeout="10"> </cfexecute>
> </cfsavecontent>
>
> <cfset isRunning = Find("SiteMinder executable", "#pList#")>
> <cfoutput>#isRunning#</cfoutput>
>
> You would have to install the tools in the windows 2000 resource kit.
There is also a 'native' tool, "net" to do this.
> However, what happenns if the SitMinder service crashes
> unexpectedly, and as you might know this happenns very often.
> Would tList.exe still list the service? My guess is it would,
> because the SiteMinder Authentication/Authorization service
> status would still be "started" even though the service has
> crashed. I need a script to monitor the siteMinder services
> and send alerts when the service is not responding.
Actually, I always thought a crashed service did NOT show up as running.
Another option is to get a list of running processes. I'm sure you can
find a DOS tool for this.
-ray
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Signup for the Fusion Authority news alert and keep up with the latest news in
ColdFusion and related topics.
http://www.fusionauthority.com/signup.cfm
------------------------------------------------------------------------------
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/spectra_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.