10startSnifferAgent3.bat

[bat]
REM SECTION 3.7.3 OF THE BOOK

REM A list of agent names can also be passed as a command-line argument at start-up treated
REM as a list of agents to be sniffed as soon as they appear in the platform.
REM For instance, with the following command-line a sniffer is started to sniff all agents
REM whose name starts with a ‘d’:

call 01setClassPath
cd ..

set PLATFORM_HOST=localhost
java jade.Boot -container -host %PLATFORM_HOST% mySniffer3:jade.tools.sniffer.Sniffer(d*)
[/bat]