Skip to content
Snippets Groups Projects
Commit f9cd5899 authored by 潇洒's avatar 潇洒
Browse files

test cpu

parent c67a0bf9
No related branches found
No related tags found
No related merge requests found
Pipeline #745 failed with stages
in 1 hour, 51 minutes, and 3 seconds
......@@ -22,7 +22,7 @@ public class TestClientFilter implements Filter {
try{
Result result = invoker.invoke(invocation);
System.out.println(invoker.getInterface());
return result;
}catch (Exception e){
throw e;
......
......@@ -45,8 +45,8 @@ public class CallbackServiceImpl implements CallbackService {
private String generateStatusMessage() {
try {
List<String> cpuLoadList = getProcessCpuLoad().stream().map(Object::toString).collect(Collectors.toList());
//String cpuLoadString = String.join(",", cpuLoadList);
//System.out.println(cpuLoadList.get(0));
String cpuLoadString = String.join(",", cpuLoadList);
System.out.println(cpuLoadList);
return cpuLoadList.get(0);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment