release notes | Book: 1.9.5, 1.9.12 (opt, FHS), 2.11 (FHS), 2.12 (FHS), 2.13 (FHS), 2.14 (FHS), | Wiki | Q&A black_bg
Web: Multi-page, Single page | PDF: A4-size, Letter-size | eBook: epub black_bg

Directory and File formats

[return to top]

Directory Structure

The statistics module automatically creates a directory tree, structured according to years, months and days. Once per hour, a total.raw file is produced underneath the active year, month and day directories, containing the sum over all pools and storage classes of the corresponding time interval. A days directory contains detailed statistics per hour and for the whole day.

           /<StatBase>/YYYY/total.raw
           /<StatBase>/YYYY/MM/total.raw
           /<StatBase>/YYYY/MM/DD/total.raw
           /<StatBase>/YYYY/MM/DD/YYYY-MM-DD-day.raw
           /<StatBase>/YYYY/MM/DD/YYYY-MM-DD-HH.raw

[return to top]

File Format

Format of YYYY-MM-DD-HH.raw or YYYY-MM-DD-day.raw files.

Table 27.1. File Format

Column NumberColumn Description
0Pool Name
1Storage Class
2Bytes stored on this pool for this storage class at beginning of day
3Number of files stored on this pool for this storage class at beginning of day
4Bytes stored on this pool for this storage class at this hour or end of day
5Number of files stored on this pool for this storage class at this hour or end of day
6Total Number of transfers (in and out, dCache-client)
7Total Number of restores (HSM to dCache)
8Total Number of stores (dCache to HSM)
9Total Number errors
10Total Number of bytes transferred into dCache (from clients)
11Total Number of bytes transferred out of dCache (to clients)
12Total Number of tranferred from HSM to dCache
13Total Number of tranferred from dCache to HSM

[return to top]

HTML Directory Structure

In case the HTML functionality is enabled, which is the default, the statistics modules creates an html tree allowing to navigate between the different statistics views. Those files populate the same directory structure as the xxx.raw files. The HTML root is at:

/<StatBase>/index.html

and may be accessed via the dCache HTTP services using

http://<headnode>:2288/statistics/

(Don’t forget the trailing slash)