wiki:Frontend/Commands

Version 1 (modified by sherbold, 12 years ago) (diff)

--

Commands

The EventBench Frontend is driven by commands, e.g., to parse files and load events or to train usage profiles. The available commands can be listed with the listCommands commands:

> listCommands
general
   exec <filename>
   exit
   listCommands
   man <commandName>
misc
   deleteObject <objectname>
   load <filename>
   loadObject <filename> <objectName>
   save <filename>
   saveObject <filename> <objectName>
   showTimer <timerName>
   startFileListener <filename>
   startTimer <timerName>
   stopFileListener <filename>
sequences
   condenseGuiModel {<sequencesName>}
   condenseMouseClicks <sequences> {<new sequences>}
   correctKeyInteractionTargets <sequences> {<new sequences>}
   detectTextInputEvents <sequences> {<new sequences>} {<textEqualityType>}
   generateReplayfile <filename> <sequences>
   sequenceStatistics <sequencesName>
   sortKeyInteractions <sequences> {<new sequences>}
usability
   evaluateUsability <tasktree> {<evaluationResult>}
   generateTaskTree <sequences> {<tasktree>}
usage
   calcCoverage <modelname> <observedSequences> [<sequenceNames>] <minCovLength> <maxCovLength>
   calcEntropy <modelname>
   flattenModel <modelname> <modelname_flattened>
   generateFixedLengthSequences <modelname> <sequencesName> <minlenght> <maxlength> {<all>} {<numSequences>} {<validEnd>}
   generateGreedy <modelname> <sequencesName> <minLength> <maxLength> <coverageDepth> <desiredCoverage> {<validEnd>}
   generateHybrid <modelname> <sequencesName> <lenght> <maxlengthAll> <numSequences> {<validEnd>}
   generateRandomSequenecs <modelname> <sequencesName> <numSequences> <minlength> <maxlength> {<maxIter>} {<validEnd>}
   listSymbols <modelname> {<sort>}
   modelSize <modelname>
   printDot <modelname>
   printTreeDot <modelname>
   showMarkovModel <modelname> {<showNodeNames>}
   showTrie <modelname>
   trainDFA <modelname> <sequencesName>
   trainMarkovModel <modelname> <sequencesName> {<order>}
   trainPPM <modelname> <sequencesName> <probEscape> <maxOrder> {<minOrder>}
   updateModel <modelname> <sequencesName>
swt
   showSequences <sequencesName>
guitar
   efgTestCasesToSequences <directory> <sequencesName> {<guiFileName>}
   efgToDFA <filename> <modelname>
   efgToMM <filename> <modelname>
jfc
   correctDirOldJFC <sourcedirectory> <destinationdirectory>
   correctOldJFC <inputfilename> <outputfilename>
   parseDirJFC <directory> {<sequencesName>}
   parseJFC <filename> {<sequencesName>}
   preprocessDirJFC <sourceDirectory> <targetDirectory>
   preprocessJFC <sourceFile> <targetFile>
mfc
   convertDirToXml <sourceDirectory> <targetFile> {<base64>}
   convertToXml <sourceFile> <targetFile> {<base64>}
   parseXML <filename> {<sequencesName>} {<countMessageOccurences>}
php
   loadWebSequences <filename> <sequencesName> {<serverUrl>} {<timeout> <minSessionLength> <maxSessionLength>} {<generateFrequentUsers> <frequentUserThreshold>}

The commands are ordered by the plug-ins and logical components of EventBench they belong to. Using the man command, a more detailed description of each command can be obtained, for example:

> man exec
Executes a batch of commands. The batch is defined as a text file, where each line defines one
command. Leading and trailing whitespaces are ignored.

Usage: exec <filename>
Example(s): 
exec
scripts/batchscript