mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-04-25 03:18:16 +02:00
Fixed check-swap-space.ps1
This commit is contained in:
parent
2c4400f327
commit
712dca92db
@ -32,7 +32,7 @@ try {
|
||||
|
||||
if ($IsLinux) {
|
||||
$Result = $(free --mega | grep Swap:)
|
||||
[int64]$total = $Result.subString(5,14)
|
||||
[int64]$total = $Result.subString(5,15)
|
||||
[int64]$used = $Result.substring(20,13)
|
||||
[int64]$free = $Result.substring(32,11)
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user