= 1024) { $count++; $byte /= 1024; } return number_format($byte, 2, '.', '.') . ' ' . $unim[$count]; } /** @var array $_ */ /** @var CPU $cpu */ $cpu = $_['cpu']; /** @var Memory $memory */ $memory = $_['memory']; /** @var Disk[] $disks */ $disks = $_['diskinfo']; /** @var NetInterface[] $interfaces */ $interfaces = $_['networkinterfaces']; /** @var ThermalZone[] $thermalZones */ $thermalZones = $_['thermalzones']; /** @var bool $phpinfo */ $phpinfo = $_['phpinfo']; ?>

getMemTotal() > 0): ?>
t('Operating System:')); ?>
t('CPU:')); ?> getName()) ?> (getThreads() ?> t('threads')); ?>)
t('Memory:')); ?> getMemTotal())) ?>
t('Server time:')); ?>
t('Uptime:')); ?>
0): ?>

t('Temperature')); ?>

getType()) ?>:  getTemp()) ?>°C

t('Load')); ?>

    

t('Memory')); ?>

    

    

t('Disk')); ?>

getDevice())); ?>

t('Mount:')); ?> getMount()); ?>
t('Filesystem:')); ?> getFs()); ?>
t('Size:')); ?> getUsed() + $disk->getAvailable())); ?>
t('Available:')); ?> getAvailable())); ?>
t('Used:')); ?> getPercent()); ?> (getUsed())); ?>)

t('Files:')); ?>

t('Storages:')); ?>

t('Free Space:')); ?>

t('Network')); ?>

t('Hostname:')); ?>
t('Gateway:')); ?>

getName()) ?>

t('Status:')); ?> isUp() ? 'up' : 'down'; ?>
t('Speed:')); ?> getSpeed()) ?> (t('Duplex:') . ' ' . $interface->getDuplex()) ?>)
getMAC())): ?> t('MAC:')); ?> getMAC()) ?>
t('IPv4:')); ?> getIPv4())); ?>
t('IPv6:')); ?> getIPv6())); ?>

t('Active users')); ?>

0) : ?>
t('Last hour')); ?>

t('%s%% of all users', [round($_['activeUsers']['last1hour'] * 100 / $_['storage']['num_users'], 1)])) ?>
0) : ?>
t('Last 24 Hours')); ?>

t('%s%% of all users', [round($_['activeUsers']['last24hours'] * 100 / $_['storage']['num_users'], 1)])) ?>
0) : ?>
t('Last 7 Days')); ?>

t('%s%% of all users', [round($_['activeUsers']['last7days'] * 100 / $_['storage']['num_users'], 1)])) ?>
0) : ?>
t('Last 30 Days')); ?>

t('%s%% of all users', [round($_['activeUsers']['last1month'] * 100 / $_['storage']['num_users'], 1)])) ?>
0) : ?>

t('Shares')); ?>

0) : ?> t('Users:')); ?>
0) : ?> t('Groups:')); ?>
0) : ?> t('Links:')); ?>
0) : ?> t('Emails:')); ?>
0) : ?> t('Federated sent:')); ?>
0) : ?> t('Federated received:')); ?>
0) : ?> t('Talk conversations:')); ?>

t('PHP')); ?>

t('Version:')); ?>
t('Memory limit:')); ?> t('MB')); ?>
t('Max execution time:')); ?> t('seconds')); ?>
t('Upload max size:')); ?> t('MB')); ?>
t('OPcache Revalidate Frequency:')); ?> t('seconds')); ?>
t('Extensions:')); ?>
t('Unable to list extensions'); endif; ?>
t('PHP Info:')); ?> t('Show phpinfo')) ?>

t('FPM worker pool')); ?>

t('Pool name:')); ?>
t('Pool type:')); ?>
t('Start time:')); ?>
t('Accepted connections:')); ?>
t('Total processes:')); ?>
t('Active processes:')); ?>
t('Idle processes:')); ?>
t('Listen queue:')); ?>
t('Slow requests:')); ?>
t('Max listen queue:')); ?>
t('Max active processes:')); ?>
t('Max children reached:')); ?>

t('Database')); ?>

t('Type:')); ?>
t('Version:')); ?>
t('Size:')); ?> t('MB')); ?>

t('External monitoring tool')); ?>

t('Use this end point to connect an external monitoring tool:')); ?>

t('To use an access token, please generate one then set it using the following command:')); ?>

occ config:app:set serverinfo token --value yourtoken

t('Then pass the token with the "NC-Token" header when querying the above URL.')); ?>