@namespace DnsmasqWebUI.Components.Home @* Service status — output of StatusShowCommand; only this component re-renders on its timer *@ @if (_status?.StatusShowConfigured == true) {

Service status

@_status.StatusShowCommand

@if (string.IsNullOrWhiteSpace(_status.StatusShowOutput)) {

No output. On a systemd host use systemctl status dnsmasq --no-pager for full status; in Docker or without systemd use ps -C dnsmasq -o pid,user,args or pgrep -a dnsmasq for minimal process info.

} else {
@_status.StatusShowOutput
}
}