fix: NEZ-2142 nz-talon 修改进程cpu利用率计算

This commit is contained in:
zhangshuai
2022-08-29 11:21:47 +08:00
parent b47a61f605
commit 1b998e9100
2 changed files with 27 additions and 10 deletions

View File

@@ -22,7 +22,7 @@ public class OSHIController extends BaseController{
}
@GetMapping("/oshi/process")
public R getProcessInfo(HttpServletRequest request){
public R getProcessInfo(HttpServletRequest request) throws InterruptedException {
List<Map> result = OSHIUtils.getProcessInfo();