= 1024) { $count++; $byte /= 1024; } return number_format($byte, 2, '.', '.') . ' ' . $unim[$count]; } /** @var array $_ */ /** @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']; ?>

t('Operating System:')); ?>

t('CPU:')); ?>

t('Unknown Processor')) ?>

t('Memory:')); ?> getMemTotal() > 0): ?> 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('Max execution time:')); ?>

t('Upload max size:')); ?>

t('OPcache Revalidate Frequency:')); ?>

t('Extensions:')); ?> t('Unable to list extensions')); ?>

t('Show phpinfo')) ?>

t('Database')); ?>

t('Type:')); ?>

t('Version:')); ?>

t('Size:')); ?>

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.')); ?>