mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-01-31 09:59:17 +01:00
Updated watch-host.ps1
This commit is contained in:
parent
8b3715935d
commit
15a764c5a5
@ -113,11 +113,11 @@ try {
|
|||||||
Write-Host "`n* PROC " -noNewline
|
Write-Host "`n* PROC " -noNewline
|
||||||
WriteValueInRange $numProcesses "" 0 10 900 1000
|
WriteValueInRange $numProcesses "" 0 10 900 1000
|
||||||
Write-Host "`n* SWAP " -noNewline
|
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
|
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
|
Write-Host "`n* UP " -noNewline
|
||||||
WriteValueInRange $numDaysUp " days" 0 0 900 1000
|
WriteValueInRange $numDaysUp " days" 0 0 1000 1000
|
||||||
|
|
||||||
|
|
||||||
Start-Sleep -milliseconds 5000
|
Start-Sleep -milliseconds 5000
|
||||||
|
Loading…
Reference in New Issue
Block a user