##// END OF EJS Templates
process-management: show CPU numbers for processes.
marcink -
r1888:5bc22a65 default
parent child Browse files
Show More
@@ -26,9 +26,10 b''
26 <td>
26 <td>
27 <a href="#showCommand" onclick="$('#pid'+${proc.pid}).toggle();return false"> command </a>
27 <a href="#showCommand" onclick="$('#pid'+${proc.pid}).toggle();return false"> command </a>
28 <code id="pid${proc.pid}" style="display: none">
28 <code id="pid${proc.pid}" style="display: none">
29 ${''.join(proc.cmdline())}
29 ${' '.join(proc.cmdline())}
30 </code>
30 </code>
31 </td>
31 </td>
32 <td></td>
32 <td>
33 <td>
33 RSS:${h.format_byte_size_binary(mem.rss)}
34 RSS:${h.format_byte_size_binary(mem.rss)}
34 </td>
35 </td>
@@ -50,10 +51,13 b''
50 <td>
51 <td>
51 <a href="#showCommand" onclick="$('#pid'+${proc_child.pid}).toggle();return false"> command </a>
52 <a href="#showCommand" onclick="$('#pid'+${proc_child.pid}).toggle();return false"> command </a>
52 <code id="pid${proc_child.pid}" style="display: none">
53 <code id="pid${proc_child.pid}" style="display: none">
53 ${''.join(proc_child.cmdline())}
54 ${' '.join(proc_child.cmdline())}
54 </code>
55 </code>
55 </td>
56 </td>
56 <td>
57 <td>
58 CPU: ${proc_child.cpu_percent()} %
59 </td>
60 <td>
57 RSS:${h.format_byte_size_binary(mem.rss)}
61 RSS:${h.format_byte_size_binary(mem.rss)}
58 </td>
62 </td>
59 <td>
63 <td>
General Comments 0
You need to be logged in to leave comments. Login now