Try this
<cfobject type="java" class="java.lang.Runtime" name="runtime">

Then you have
 - runtime.availableProcessors(); - int
 - runtime.freeMemory() - long 
 - runtime.maxMemory() - long
 - runtime.totalMemory() - long

Is this what you mean?


-----Original Message-----
From: John Beynon [mailto:[EMAIL PROTECTED] 
Sent: Thursday, January 13, 2005 10:47 AM
To: CF-Talk
Subject: Java memory usage

A while back someone posted some CF that used a java object to return
heap sizes and CPU usage...any idea where/what it was? I've search high
and low and can't find it,

thanks,

john.



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:190231
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to