My Account   Contact Us    
  
» HomeProductsSupportDeveloper CommunityCompany
ActivMail Stats API

ActivMail Stats API code snippet


<CFX_ActivMail getstatus="1">

<cfset percentFree = Round((activmail.jvmFreeMemory / activmail.jvmTotalMemory) * 100)>
<cfset freeMemoryKB = Round(activmail.jvmFreeMemory / 1024)>
<cfset totalMemoryKB = Round(activmail.jvmTotalMemory / 1024)>

<cfoutput>
Messages In Queue: #activmail.queueSize#<br>
Messages Sent Since CF Start: #activmail.messagesSent#<br>
Active Sender Threads: #activmail.threads#<br>
Percent JVM Memory Free: #percentFree#%<br>
KB JVM Memory Free: #freeMemoryKB# KB<br>
KB JVM Memory Total: #totalMemoryKB# KB<br>
ActivMail Version: #activmail.version#<br>
</cfoutput>
Search Knowledge Base:
Sign up for our newsletter: | Subscribe with RSS: RSS
© ActivSoftware 1999 to 2005 | Privacy Statement