Welcome to the Pandora FMS Module Library

 
This is a library with modules, documentation and tools for Pandora FMS users, both public Open Source and Enterprise. Please use your support credentials (same as used to enter support/ticketing system) in the menu to your right. You will be granted access to a resourceful module library, such as Oracle, VMware, JBoss and others, ready to be used in production enviroments, with official professional support from Artica. If you do not own an enterprise account, you still can browse and download lots of modules, you can even register a free account and contribute with your own modules/tools for other public users.

Home > Miscelaneous

kill a list of running programs

Author: suzdal Create in: 08/26/2009 Update in: 01/01/1970
Rating:
Module type : Local module


copy file to "%ProgramFiles%\pandora_agent\util\kill_prgs.vbs"

Module data

module_begin
module_name PRG - Kill Prgs data
module_type generic_data_string
module_exec cscript "%ProgramFiles%\pandora_agent\util\kill_prgs.vbs" > "%ProgramFiles%\pandora_agent\util\l_prg_k.txt"
module_description run kill list and generate a txt result
module_end

module_begin
module_name PRG - Kill Prgs
module_type generic_data_string
module_exec type "%ProgramFiles%\pandora_agent\util\l_prg_k.txt" | grep ::
module_description List killed prgs from list
module_end

module_begin
module_name PRG - Seek Kill Prgs
module_type generic_proc
module_exec type "%ProgramFiles%\pandora_agent\util\l_prg_k.txt" | grep :-: | gawk -F":-:" "{print $2}" | tr -d \n | tr -d \f | tr -d \r
module_description Proc killed prgs from list
module_end

Included files

  •  
    File: kill_prgs.vbs Size: 5KiB
    Uploaded in: 03/01/2017
    Description: