已验证可行的更简洁的动态打开日志开关的URL
打开KSQL日志开关的url
http:// 服务器IP:jmxconnector端口 /SetForm//kingdee.bos.invokeCounter%3Aname%3DinvokeCounter?KSQLFilterTime%2Bboolean=false&KSQLOutput%2Bboolean=true
关闭KSQL日志开关的url
http:// 服务器IP:jmxconnector端口 /SetForm//kingdee.bos.invokeCounter%3Aname%3DinvokeCounter?KSQLFilterTime%2Bboolean=true&KSQLOutput%2Bboolean=false
打开服务端RPC性能日志开关的url
http:// 服务器IP:jmxconnector端口 /SetForm//kingdee.bos.invokeCounter%3Aname%3DinvokeCounter?RPCSqlOn%2Bboolean=true&SQLPlanOn%2Bboolean=true
关闭服务端RPC性能日志开关的url
http:// 服务器IP:jmxconnector端口 /SetForm//kingdee.bos.invokeCounter%3Aname%3DinvokeCounter?RPCSqlOn%2Bboolean=false&SQLPlanOn%2Bboolean=false
已验证可行的更简洁的通过查询分析器获取收集日志所需信息的脚本
/*执行客户端脚本获得连接的 服务器IP */
java.lang.System.getProperties().getProperty("EAS_SERVER").replaceAll(".*(\\b(?:[0-9]{1,3}\\.){3}[0-9]{1,3}\\b).*", "$1")
/*执行服务端脚本获得连接实例的 jmxconnector端口 */
com.kingdee.eas.util.PropertiesUtil.getProperties(java.lang.System.getProperties().getProperty("EAS_INSTANCE_HOME")+"/config/jmxconnector.properties").getProperty("http.port")
/*执行服务端脚本获得连接实例的 日志目录 */
java.lang.System.getProperties().getProperty("EAS_INSTANCE_HOME")+"/logs"
/*执行服务端脚本获取服务端安装目录,执行客户端脚本获取 客户端安装目录 */
java.lang.System.getProperties().get("EAS_HOME")
/*执行服务端脚本获得 连接实例目录 */
java.lang.System.getProperties().getProperty("EAS_INSTANCE_HOME")
打开KSQL日志开关的url
http:// 服务器IP:jmxconnector端口 /SetForm//kingdee.bos.invokeCounter%3Aname%3DinvokeCounter?KSQLFilterTime%2Bboolean=false&KSQLOutput%2Bboolean=true
关闭KSQL日志开关的url
http:// 服务器IP:jmxconnector端口 /SetForm//kingdee.bos.invokeCounter%3Aname%3DinvokeCounter?KSQLFilterTime%2Bboolean=true&KSQLOutput%2Bboolean=false
打开服务端RPC性能日志开关的url
http:// 服务器IP:jmxconnector端口 /SetForm//kingdee.bos.invokeCounter%3Aname%3DinvokeCounter?RPCSqlOn%2Bboolean=true&SQLPlanOn%2Bboolean=true
关闭服务端RPC性能日志开关的url
http:// 服务器IP:jmxconnector端口 /SetForm//kingdee.bos.invokeCounter%3Aname%3DinvokeCounter?RPCSqlOn%2Bboolean=false&SQLPlanOn%2Bboolean=false
已验证可行的更简洁的通过查询分析器获取收集日志所需信息的脚本
/*执行客户端脚本获得连接的 服务器IP */
java.lang.System.getProperties().getProperty("EAS_SERVER").replaceAll(".*(\\b(?:[0-9]{1,3}\\.){3}[0-9]{1,3}\\b).*", "$1")
/*执行服务端脚本获得连接实例的 jmxconnector端口 */
com.kingdee.eas.util.PropertiesUtil.getProperties(java.lang.System.getProperties().getProperty("EAS_INSTANCE_HOME")+"/config/jmxconnector.properties").getProperty("http.port")
/*执行服务端脚本获得连接实例的 日志目录 */
java.lang.System.getProperties().getProperty("EAS_INSTANCE_HOME")+"/logs"
/*执行服务端脚本获取服务端安装目录,执行客户端脚本获取 客户端安装目录 */
java.lang.System.getProperties().get("EAS_HOME")
/*执行服务端脚本获得 连接实例目录 */
java.lang.System.getProperties().getProperty("EAS_INSTANCE_HOME")