代码拉取完成,页面将自动刷新
From 56923111d6218dfd9de68c4d0ae9a3b1ec96ff9a Mon Sep 17 00:00:00 2001
From: nocjj <[email protected]>
Date: Sun, 27 Sep 2020 16:11:45 +0800
Subject: [PATCH] display: expand %CPU display
Now, %CPU's align is 6, and is not enough to display VM
that has vcpus more than 10. So expand align to 8.
---
src/field.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/field.c b/src/field.c
index 6a07fcc..3ae2996 100644
--- a/src/field.c
+++ b/src/field.c
@@ -36,7 +36,7 @@ FID fields[] = {
{"DID", FIELDS_DISPLAY, 5 },
{"VM/task-name", FIELDS_DISPLAY, 14 },
{"PID", FIELDS_DISPLAY, 8 },
- {"%CPU", FIELDS_DISPLAY, 6 },
+ {"%CPU", FIELDS_DISPLAY, 8 },
{"EXThvc", FIELDS_DISPLAY, 10 },
{"EXTwfe", FIELDS_DISPLAY, 10 },
{"EXTwfi", FIELDS_DISPLAY, 10 },
--
2.23.0
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。