1. 优化单位显示
2. 去掉部分log 3. 其他优化
This commit is contained in:
@@ -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" ) );
|
||||
|
||||
Reference in New Issue
Block a user