mirror of
				https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
				synced 2025-11-03 20:27:54 +00:00 
			
		
		
		
	loadmon: corrects entry for total memory
Signed-off-by: Jed Reynolds <jed@bitratchet.com>
This commit is contained in:
		@@ -144,8 +144,8 @@ sub print_totals {
 | 
			
		||||
        my $ra_pl = $monitor->{ra_pid_list};
 | 
			
		||||
        #print Data::Dumper->Dump(["ra_pl", $ra_pl]);
 | 
			
		||||
        $tt_num_pids += @$ra_pl;
 | 
			
		||||
        if (defined $main::monitor_map{$name}->{total_mem_KB}) {
 | 
			
		||||
            $tt_mem_kb += $main::monitor_map{$name}->{total_mem_KB};
 | 
			
		||||
        if (defined $main::monitor_map{$name}->{total_mem}) {
 | 
			
		||||
            $tt_mem_kb += $main::monitor_map{$name}->{total_mem};
 | 
			
		||||
        }
 | 
			
		||||
        $tt_fh += $main::monitor_map{$name}->{total_fh};
 | 
			
		||||
    }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user