=sprintf($lang['debug']['log_info'], getenv('LOG_LINES') + 1);?>
         'system', 'task' => 'df', 'dir' => '/var/vmail');
          $vmail_df = explode(',', json_decode(docker('post', 'dovecot-mailcow', 'exec', $exec_fields), true));
          $domainQuota = round(domain_admin('total_quota')/1024);
          $inactive_bytes = round(mailbox('get','inactive_bytes')/1024/1024/1024);
          $quotaPercent1 = round(($domainQuota/substr($vmail_df[3], 0, -1))*100);
          $quotaPercent2 = round((($domainQuota-substr($vmail_df[2], 0, -1)+$inactive_bytes)/substr($vmail_df[3], 0, -1))*100);
          $quotaPercent2 = ($quotaPercent2+substr($vmail_df[4], 0, -1)>100) ? 100-substr($vmail_df[4], 0, -1) : $quotaPercent2; //handling overcommitment
        ?>
        
          
            
              
=$lang['debug']['disk_usage'];?>
            
            
              
                
                  /var/vmail on =$vmail_df[0];?>
                  =$lang['debug']['disk_space'];?> =$vmail_df[3];?>B
                 
                
                  
                    =$lang['debug']['disk_used'];?> =$vmail_df[2];?>B (=$vmail_df[4];?>)
                    =$lang['debug']['total_quota'];?> =$domainQuota;?>GB (=$quotaPercent1;?>%)
                 
               
             
           
          
            
              
=$lang['debug']['solr_status'];?>
            
            
              
                
                
                  
                  
                  =$lang['debug']['jvm_memory_solr'];?>: =$solr_status['jvm']['memory']['total'] - $solr_status['jvm']['memory']['free'];?> / =$solr_status['jvm']['memory']['total'];?>
                    (=round($solr_status['jvm']['memory']['raw']['used%']);?>%)
                  
                  =$lang['debug']['solr_uptime'];?>: ~=round($solr_status['status']['dovecot-fts']['uptime'] / 1000 / 60 / 60);?>h
                  =$lang['debug']['solr_started_at'];?>: =$solr_status['status']['dovecot-fts']['startTime'];?>
                  =$lang['debug']['solr_last_modified'];?>: =$solr_status['status']['dovecot-fts']['index']['lastModified'];?>
                  =$lang['debug']['solr_size'];?>: =$solr_status['status']['dovecot-fts']['index']['size'];?>
                  =$lang['debug']['solr_docs'];?>: =$solr_status['status']['dovecot-fts']['index']['numDocs'];?>
                  
                  =$lang['debug']['solr_dead'];?>
                  
                 
               
             
           
          
            
              
=$lang['debug']['containers_info'];?>
            
            
            
             $container_info) {
              ?>
              - 
              =$container . ' (' . $container_info['Config']['Image'] . ')';?>
              setTimestamp(mktime(
                  $StartedAt['hour'],
                  $StartedAt['minute'],
                  $StartedAt['second'],
                  $StartedAt['month'],
                  $StartedAt['day'],
                  $StartedAt['year']));
                $user_tz = new DateTimeZone(getenv('TZ'));
                $date->setTimezone($user_tz);
                $started = $date->format('r');
              }
              else {
                $started = '?';
              }
              ?>
              (=$lang['debug']['started_on'];?> =$started;?>),
              =$lang['debug']['restart_container'];?>
               
              
 
           
         
        
          
            Postfix 
              
                
                
                
              
             
         
        
          
            mailcow UI 
              
                
                
                
              
             
         
        
          
            Dovecot 
              
                
                
                
              
             
         
        
          
            SOGo 
              
                
                
                
              
             
         
        
          
            Netfilter 
              
                
                
                
              
             
         
        
          
            Rspamd history 
              
                
                
                
              
             
         
        
          
            Autodiscover 
              
                
                
                
              
             
         
        
          
            Watchdog 
              
                
                
                
              
             
         
        
          
            ACME 
              
                
                
                
              
             
         
        
          
            API 
              
                
                
                
              
             
         
        
          
            Ratelimits 
              
                
                
                
              
            
              =$lang['admin']['hash_remove_info'];?>