getTotalSpace

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

getTotalSpace(path); → returns Total space in bytes

Argument Reference for the getTotalSpace function

path

Required: Yes
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