process-management: show CPU numbers for processes.

This commit is contained in:
Marcin Kuzminski 2017-07-04 11:21:16 +02:00
parent 5e2c568d27
commit 17d20f91d4

View file

@ -26,9 +26,10 @@
<td>
<a href="#showCommand" onclick="$('#pid'+${proc.pid}).toggle();return false"> command </a>
<code id="pid${proc.pid}" style="display: none">
${''.join(proc.cmdline())}
${' '.join(proc.cmdline())}
</code>
</td>
<td></td>
<td>
RSS:${h.format_byte_size_binary(mem.rss)}
</td>
@ -50,9 +51,12 @@
<td>
<a href="#showCommand" onclick="$('#pid'+${proc_child.pid}).toggle();return false"> command </a>
<code id="pid${proc_child.pid}" style="display: none">
${''.join(proc_child.cmdline())}
${' '.join(proc_child.cmdline())}
</code>
</td>
<td>
CPU: ${proc_child.cpu_percent()} %
</td>
<td>
RSS:${h.format_byte_size_binary(mem.rss)}
</td>