citrix-pvs-healthcheck icon indicating copy to clipboard operation
citrix-pvs-healthcheck copied to clipboard

RAM Usage is critical

Open pmatula opened this issue 7 years ago • 0 comments

When I run the script on my pvs, I get:

[ERROR] Memory usage is Critical [ 7,39 % ]

I think it's because the conversion from 7,39 becomes to 739.

My (bad) workaround is to change the line 221 from: $RAMPercentUsed = "{0:N2}" -f $RAMPercentUsed to $RAMPercentUsed = "{0:N0}" -f $RAMPercentUsed

pmatula avatar May 22 '17 08:05 pmatula