| vmm_load |
=$bs['vmm_load'] !== '' ? vmm_h($bs['vmm_load']) : gettext('missing');?>
|
| nmdm_load |
=$bs['nmdm_load'] !== '' ? vmm_h($bs['nmdm_load']) : gettext('missing');?>
|
| =gettext('Postinit hook');?> |
=$bs['rc_postinit'] ? gettext('registered') : gettext('missing');?>
|
| =gettext('Action');?> |
=gettext('XigmaNAS regenerates loader.conf.local and rc.conf from config.xml at boot; direct file edits do not survive.');?>
|
| =gettext('Platform');?> | =vmm_h($sc['platform']);?> · =vmm_h($sc['product']);?> · =vmm_h($sc['os']);?> |
| PHP | =vmm_h($sc['php']);?> |
| =gettext('Extension root');?> | =vmm_h($sc['root']);?> |
| vm_dir | =vmm_h($sc['vm_dir']);?> |
| =gettext('Kernel modules');?> |
vmm: =vmm_h($sc['kld']['vmm']);?> ·
nmdm: =vmm_h($sc['kld']['nmdm']);?>
|
| =gettext('Boot-time modules');?> |
=$sc['loader_conf']['file'];?>:
vmm_load==$sc['loader_conf']['vmm'] ? 'YES' : 'no';?> ·
nmdm_load==$sc['loader_conf']['nmdm'] ? 'YES' : 'no';?>
|
| =gettext('Virtual machines');?> | =$sc['vm_count'];?> =gettext('total');?>, =$sc['vm_running'];?> =gettext('running');?> |
| =gettext('RAM budget');?> | =vmm_human_bytes(vmm_ram_used());?> =gettext('in use');?> · =gettext('limit');?> =vmm_human_bytes($b['limit']);?> (=$b['pct'];?>% =gettext('of');?> =vmm_human_bytes($b['total']);?>) |
gettext('vm-bhyve'),
'grub' => gettext('grub-bhyve'),
'firmware' => gettext('UEFI firmware'),
'ttyd' => gettext('Web terminal (ttyd)'),
];
foreach ($rows as $key => $label):
$p = $sc[$key];
$ok = !empty($p['available']);
?>
| =$label;?> |
=$ok ? gettext('available') : gettext('missing');?>
· =gettext('source');?>: =vmm_h((string)$p['source']);?>
=vmm_h((string)$p['path']);?>
=vmm_h((string)$sc['vm']['version']['version']);?> (rev =vmm_h((string)($sc['vm']['version']['rev'] ?? '?'));?>)
=vmm_h((string)$sc['firmware']['mtime']);?> · =vmm_h(vmm_human_bytes((int)$sc['firmware']['size']));?>
|
| =gettext('Update policy');?> | vm_source = =vmm_h((string)$conf['vm_source']);?> — =gettext('the system installation always wins; the bundle only fills gaps.');?> |
| =gettext('Datastore');?> |
=vmm_h(implode(' · ', array_map('strval', $ds)));?> |
| =gettext('Datastore');?> | =gettext('none reported');?> |
| =gettext('Switch');?> |
=vmm_h(implode(' · ', array_map('strval', $sw)));?> |
=gettext('Raw self-check (JSON)');?>
=vmm_h(json_encode($sc, JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES));?>
|