#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2003
    Location
    Edison
    Posts
    143
    Rep Power
    12

    disk space usage


    how can i view the disk space and bandwidth used from a particular folder in my coldfusion server. I mean when ppl visit my website they go to C:\CFusionMX\wwwroot\, but some of my files are in C:\CFusionMX\folder1\ and i have a special script in C:\CFusionMX\wwwroot\(accessible by all users) which links to files from C:\CFusionMX\folder1\ (which is NOT accessible by anyone).

    So can anyone tell me how i can monitor/view the diskspace and bandwidth of C:\CFusionMX\folder1\ from C:\CFusionMX\wwwroot\
  2. #2
  3. No Profile Picture
    Moderator

    Join Date
    Jun 2002
    Location
    Raleigh, NC
    Posts
    5,286
    Rep Power
    968
    You can get the size of a directory using cfdirectory (or recursive cfdirectory calls), but not bandwidth. You'll have to do this from the server-side (OS or web server) or from a log file...CF has built-in monitoring and performance data (actually this ties into the OS's monitoring systems) but I don't think it would let you do this by directory.

IMN logo majestic logo threadwatch logo seochat tools logo