Show the requested memory additionally in kBytes
Till now the requested memory has been shown in pages only.
This commit is contained in:
		
							parent
							
								
									d7456383a2
								
							
						
					
					
						commit
						e34c5ab909
					
				@ -173,9 +173,10 @@ function goBack() {
 | 
			
		||||
            <td>Bit mask indicating the cores on which the process can run</td>
 | 
			
		||||
        </tr>
 | 
			
		||||
        <tr>
 | 
			
		||||
            <td>Requested memory pages<br>(order)</td>
 | 
			
		||||
            <td class="pages">
 | 
			
		||||
                <span id="trigger_proc_requested_memory"></span> (2^<sup><span id="trigger_proc_order"></span></sup>)
 | 
			
		||||
            <td>Requested memory<br>(order)</td>
 | 
			
		||||
            <td class="align_right">
 | 
			
		||||
                <span id="trigger_proc_requested_memory"></span> (2^<sup><span id="trigger_proc_order"></span></sup>) pages /
 | 
			
		||||
                <span class="kbytes" id="trigger_proc_requested_memory_kbytes"></span>
 | 
			
		||||
            </td>
 | 
			
		||||
            <td>The kernel specifies the requested number of pages as exponent of power of two.
 | 
			
		||||
        </tr>
 | 
			
		||||
 | 
			
		||||
@ -828,6 +828,7 @@ Killed process 6576 (java) total-vm:33914892kB, anon-rss:20629004kB, file-rss:0k
 | 
			
		||||
            self.details['swap_cache_kb']
 | 
			
		||||
 | 
			
		||||
        self.details['trigger_proc_requested_memory'] = 2**self.details['trigger_proc_order']
 | 
			
		||||
        self.details['trigger_proc_requested_memory_kbytes'] = self.details['page_size']
 | 
			
		||||
 | 
			
		||||
        # process gfp_mask
 | 
			
		||||
        if self.details['trigger_proc_gfp_flags'] != '<not found>':     # None has been is converted to '<not found>'
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user