wip: server storage check

This commit is contained in:
Andras Bacsai committed 2024-10-01 11:52:36 +02:00
1 parent b00828d4aa
commit 5cd81fe255
3 files changed
+70

No files matched your search

+9
View File
@@ -1212,4 +1212,13 @@ $schema://$host {
return $this;
}
public function storageCheck(): ?string
{
$commands = [
'df / --output=pcent | tr -cd 0-9',
];
return instant_remote_process($commands, $this, false);
}
}