1. 优化单位显示

2. 去掉部分log
3. 其他优化
This commit is contained in:
wangcongtao
2020-11-16 17:46:21 +08:00
parent 3d27dbd5d0
commit b00acb8b56
20 changed files with 47 additions and 56 deletions

View File

@@ -67,7 +67,7 @@ public class ProcessUtils {
* @param pid 进程号
* @return 进程名
*/
private static String getProcessName( int pid ) {
public static String getProcessName( int pid ) {
BufferedReader reader = null;
try {
reader = new BufferedReader( new FileReader( "/proc/" + pid + "/cmdline" ) );