代码拉取完成,页面将自动刷新
同步操作将从 src-openEuler/procinfo 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
--- procinfo-18/procinfo.h.steal 2006-04-21 01:09:52.000000000 +0200
+++ procinfo-18/procinfo.h 2006-04-21 01:10:36.000000000 +0200
@@ -81,7 +81,7 @@
unsigned long uptime;
long m_to, m_us, m_fr, m_sh, m_bu, m_ca;
long s_to, s_us, s_fr;
- unsigned long cpu_user, cpu_nice, cpu_sys, cpu_idle;
+ unsigned long cpu_user, cpu_nice, cpu_sys, cpu_idle, cpu_steal;
unsigned long cpu_iowait, cpu_irq, cpu_softirq;
unsigned long disk[5];
unsigned long disk_r[5];
--- procinfo-18/procinfo.8.steal 2006-04-21 01:22:58.000000000 +0200
+++ procinfo-18/procinfo.8 2006-04-21 01:24:01.000000000 +0200
@@ -61,6 +61,10 @@
The amount of time spent doing nothing.
.TP
+.BI steal:
+The amount of time spent the virtual CPU waiting for physical CPU.
+
+.TP
.BI uptime:
The time that the system has been up. The above four should more or
less add up to this one.
--- procinfo-18/procinfo.c.steal 2006-04-21 01:10:58.000000000 +0200
+++ procinfo-18/procinfo.c 2006-04-21 01:22:25.000000000 +0200
@@ -252,6 +252,8 @@
new.cpu_iowait = VAL;
new.cpu_irq = VAL;
new.cpu_softirq = VAL;
+ new.cpu_steal = VAL;
+
/*
* according to bug #1959, sometimes the cpu_idle
* seems to go backwards(!) on SMP boxes. This may
@@ -400,6 +402,9 @@
else
putchar ('\n');
+ printf ("steal : %s %s\n",
+ hms (bDIFF (cpu_steal)), perc (bDIFF (cpu_steal), elapsed, nr_cpus));
+
printf ("uptime: %s context :%9lu", hms (new.uptime),
bDIFF (ctxt));
if (new.syscalls) /* If we have this, we can use the old interrupts spot. */
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。