getTotalSpace

Returns the total disk space or in-memory space avaialbe for an appliation.

getTotalSpace(path); → returns numeric

getTotalSpace Argument Reference

path
Required

path to the hard drive or for in memory file system.

Examples sample code invoking the getTotalSpace function


Tag Syntax

the in-memory file system memory set in cfadmin and should return that.

<cfset totalRMSSpace = getTotalSpace('ram')>
<cfoutput>total app ram memory: #decimalFormat(totalRamSpace)/(1024 * 1024)# mb</cfoutput>

Fork me on GitHub