{#if isAdminUser()}
1.
{ const endpoint = getMetadata(login.metadata.AccountsUrl) ?? '' if (endpoint !== '') { void fetch( concatLink(endpoint, `/api/v1/manage?token=${token}&operation=maintenance&timeout=${warningTimeout}`), { method: 'PUT' } ) } }} />
min
{ const endpoint = getMetadata(login.metadata.AccountsUrl) ?? '' if (endpoint !== '') { void fetch(concatLink(endpoint, `/api/v1/manage?token=${token}&operation=maintenance&timeout=-1`), { method: 'PUT' }) } }} />
Command benchmark {avgTime / opss} {maxTime} - {active}
total
parallel
dsize
rsize
{ running = !running void doBenchmark() }} />
2.
{ void fetch(endpoint + `/api/v1/manage?token=${token}&operation=reboot`, { method: 'PUT' }) }} />
3.
{#if !profiling}
{ void fetch(endpoint + `/api/v1/manage?token=${token}&operation=profile-start`, { method: 'PUT' }) fetchStats(0) }} /> {:else}
{/if}
{/if} {#if metrics}
{/if}