로그 송수신 잔여 제거와 패널 주기 조정
This commit is contained in:
1 parent
c0dadcc8a9
commit
3f3198b29f
5 files changed
+67
-77
No files matched your search
+2
-2
@@ -188,7 +188,7 @@ function command_first_line(array $cmd, bool $root = false, int $timeout = 3): s
|
||||
return (int)$result['code'] === 0 && $lines ? (string)$lines[0] : '';
|
||||
}
|
||||
|
||||
function remote_log_status(): array
|
||||
function log_retention_status(): array
|
||||
{
|
||||
$journalDir = '/var/log/journal';
|
||||
$journalDisk = command_first_line(['/usr/bin/journalctl', '--disk-usage', '--no-pager'], false, 3);
|
||||
@@ -4681,7 +4681,7 @@ function collect_snapshot(bool $applyFan = true): array
|
||||
'history' => $history,
|
||||
'processes' => $processes,
|
||||
'custom_services' => custom_systemd_services(),
|
||||
'remote_logs' => remote_log_status(),
|
||||
'log_status' => log_retention_status(),
|
||||
'touch_display' => touch_display_status(),
|
||||
'fan_spike' => $fanSpike,
|
||||
'fan_spike_history' => fan_spike_history((int)setting_value('display.fan_notice_history_limit')),
|
||||
|
||||
Reference in new issue
Block a user