You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

(currently work-in-progress)

Despite the graphical integration in Odysseus Studio, OdysseusNet provides console commands to control distributed data stream processing in the OSGi-Console. These console commands are available if OdysseusNet is activated (see OdysseusNet). The following commands are supported:

Other

CommandDescriptionExample
helpNetPrints help text for these console commands 

 

Data stream processing

CommandDescriptionExample
dumpStream <hash | name> <time>Prints the current output data stream elements of the specified physical operator (specified by its hash or name). Printing stops after the specified amount of time. 
dumpPlan <queryID>Prints the physical plan (with its operators) of the query with the specified queryID. 

 

Logging

CommandDescriptionExample
log <logLevel> <message>Logs a message with the specified log level. Supported log levels are trace, debug, info, warn and error.log debug "I am a message"
setLogger <loggerName> <logLevel> (duration)Sets the log level for the specified logger. If optional duration (in milliseconds) is specified, the log level is reset back to previous level after this amount of time.setLogger de.uniol.inf.is.odysseus.core debug 20000
setLoggerOdysseus <loggerName> <logLevel> (duration)Like setLogger, except the prefix de.uniol.inf.is.odysseus for the logger name must not be specified.setLoggerOdysseus core debug 20000
listLoggers (filter)Lists all available/active loggers. Filters the list if filter is specified.listLoggers core
lsLoggers (filters)See listLoggers 

System properties

CommandDescriptionExample
listSystemProperties (filter)Lists all system properties (and values). Filters the list if filter is specified.listSystemProperties os
lsSystemProperties (filter)See listSystemProperties 
setSystemProperty <propName> <value>Sets the system property propName to value value.setSystemProperty user.home Lala

Threads

CommandDescriptionExample
listThreads (filter)Lists all currently running threads of the virtual machine. Filters the list if filter is specified. 
lsThreads (filter)See listThreads 
  • No labels