新增服务器监控功能,查看CPU,内存,JVM,磁盘信息等
This commit is contained in:
@@ -17,6 +17,10 @@ public class ByteUtils {
|
||||
* @return
|
||||
*/
|
||||
public static String formatByteSize(long byteSize) {
|
||||
|
||||
if (byteSize <= -1){
|
||||
return String.valueOf(byteSize);
|
||||
}
|
||||
|
||||
double size = 1.0 * byteSize;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user