KS-Soft. Network Management Solutions
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister    ProfileProfile    Log inLog in 

Tune up value

 
Post new topic   Reply to topic    KS-Soft Forum Index -> Configuration, Maintenance, Troubleshooting
View previous topic :: View next topic  
Author Message
Kris



Joined: 12 May 2010
Posts: 375

PostPosted: Mon Nov 04, 2013 7:45 am    Post subject: Tune up value Reply with quote

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....
Back to top
View user's profile Send private message
KS-Soft Europe



Joined: 16 May 2006
Posts: 2832

PostPosted: Mon Nov 04, 2013 8:19 am    Post subject: Reply with quote

Should be:
If (%SuggestedReply%>0) [%SuggestedReply% div 1024]; else 0
Please note, HostMonitor uses only integer division.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Kris



Joined: 12 May 2010
Posts: 375

PostPosted: Mon Nov 04, 2013 8:53 am    Post subject: Reply with quote

Brilliant!

Thanks again
Back to top
View user's profile Send private message
KS-Soft Europe



Joined: 16 May 2006
Posts: 2832

PostPosted: Mon Nov 04, 2013 8:56 am    Post subject: Reply with quote

You are welcome
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    KS-Soft Forum Index -> Configuration, Maintenance, Troubleshooting All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

KS-Soft Forum Index