监控日志服务

parent 550e39f9
...@@ -83,7 +83,7 @@ public class RemoteShellExecutor { ...@@ -83,7 +83,7 @@ public class RemoteShellExecutor {
session.waitForCondition(ChannelCondition.EXIT_STATUS, TIME_OUT); session.waitForCondition(ChannelCondition.EXIT_STATUS, TIME_OUT);
System.out.print("outStr==================" + outStr); //System.out.print("outStr==================" + outStr);
if(outStr.indexOf("success")>0){ if(outStr.indexOf("success")>0){
ret="success"; ret="success";
}else{ }else{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment