Tune up value

All questions related to installations, configurations and maintenance of Advanced Host Monitor (including additional tools such as RMA for Windows, RMA Manager, Web Servie, RCC).
Post Reply
Kris
Posts: 375
Joined: Wed May 12, 2010 3:22 am

Tune up value

Post by Kris »

Hiya all,

I try to create a tune up reply like this:

If (SuggestedReply > 0) then
(SuggestedReply / 1024)
Else
0
End if

I can't seem to get it right.... :oops:
KS-Soft Europe
Posts: 2832
Joined: Tue May 16, 2006 4:41 am
Contact:

Post by KS-Soft Europe »

Should be:
If (%SuggestedReply%>0) [%SuggestedReply% div 1024]; else 0
Please note, HostMonitor uses only integer division.
Kris
Posts: 375
Joined: Wed May 12, 2010 3:22 am

Post by Kris »

Brilliant!

Thanks again 8)
KS-Soft Europe
Posts: 2832
Joined: Tue May 16, 2006 4:41 am
Contact:

Post by KS-Soft Europe »

You are welcome :)
Post Reply