From 15a764c5a538c0840879ea09f8bc58ffedb21a02 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Wed, 4 Dec 2024 16:36:01 +0100 Subject: [PATCH] Updated watch-host.ps1 --- scripts/watch-host.ps1 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/watch-host.ps1 b/scripts/watch-host.ps1 index 22973869..bbd31676 100644 --- a/scripts/watch-host.ps1 +++ b/scripts/watch-host.ps1 @@ -113,11 +113,11 @@ try { Write-Host "`n* PROC " -noNewline WriteValueInRange $numProcesses "" 0 10 900 1000 Write-Host "`n* SWAP " -noNewline - WriteValueInRange $used "GB" 0 0 $total $total + WriteValueInRange $used "GB" 0 0 ($total - 1) $total Write-Host "`n* DISK " -noNewline - WriteValueInRange $DiskUse "GB" 0 0 $DiskSize $DiskSize + WriteValueInRange $DiskUse "GB" 0 0 ($DiskSize - 5) $DiskSize Write-Host "`n* UP " -noNewline - WriteValueInRange $numDaysUp " days" 0 0 900 1000 + WriteValueInRange $numDaysUp " days" 0 0 1000 1000 Start-Sleep -milliseconds 5000