{statsNode.remark && (
{t('pages.nodes.name')}
{statsNode.remark}
)}
{t('pages.nodes.address')}
{statsNode.url}
{showAddress ? (
setShowAddress(false)}
onKeyDown={activateOnKey(() => setShowAddress(false))}
/>
) : (
setShowAddress(true)}
onKeyDown={activateOnKey(() => setShowAddress(true))}
/>
)}
{t('pages.nodes.status')}
{(() => {
const { tip, iconColor } = statusIssue(statsNode);
return tip ? (
) : null;
})()}
{t('pages.nodes.cpu')}
{formatPct(statsNode.cpuPct)}
{t('pages.nodes.mem')}
{formatPct(statsNode.memPct)}
{t('pages.nodes.coreVersion')}
{statsNode.nodeType === 'agent'
? statsNode.singboxVersion || statsNode.xrayVersion || '-'
: statsNode.xrayVersion || '-'}
{t('pages.nodes.panelVersion') || 'Panel version'}
{statsNode.panelVersion || '-'}
{t('pages.nodes.uptime')}
{formatUptime(statsNode.uptimeSecs)}
{t('pages.nodes.latency')}
{statsNode.latencyMs && statsNode.latencyMs > 0
? `${statsNode.latencyMs} ms`
: '-'}
{t('clients')}
{statsNode.clientCount || 0}
{statsNode.activeCount ? (
{statsNode.activeCount} {t('subscription.active')}
) : null}
{statsNode.disabledCount ? (
{statsNode.disabledCount} {t('disabled')}
) : null}
{statsNode.depletedCount ? (
{statsNode.depletedCount} {t('depleted')}
) : null}
{statsNode.onlineCount ? (
{statsNode.onlineCount} {t('online')}
) : null}
{t('pages.nodes.lastHeartbeat')}
{relativeTime(statsNode.lastHeartbeat)}
)}