Script To Clear Users

From Observer GigaFlow Support | VIAVI Solutions Inc.
Jump to: navigation, search

Script to clear out cahced users

log.warn("Start")
log.warn(actions.ros.userHash.size())
log.warn(actions.ros.userHash.keySet().size())
log.warn(actions.ros.runningargs.get("applicationName"))
log.warn(actions.ros.serverName)
var StaticVars = Java.type("ros.ROS"); // 
log.warn(StaticVars);
log.warn(StaticVars.keySet())
log.warn(actions.ros.userHash.clear())
log.warn(actions.ros.userHash.size())
log.warn(actions.ros.userHash.keySet().size())
log.warn("End")