Evert server runs a daily cron job that obtains the free disk space of a server. These values are written to files in nfs and
an trscrontab job creates the webpage with the current free disk space
The cronjob, running in crontab on each xrootd data server, is
/opt/xrootd/admin/mon_diskspace.sh
It collects the total and free diskspcae as well as the inode usage for ufs file systems (zfs has no inode restriction).
The disk usage is stored in files:
.bq /nfs/farm/g/glast/u15/xrootd/diskspace/df_server_YYYYMM
where server is the server name and YYYYMM is the year and month the values were collected. For example
/nfs/farm/g/glast/u15/xrootd/diskspace/df_wain020_200806 contains all disk usage values for wain021 for Juni, 2008.
These files contain one line per collection with:
DF <date> server totalSpace freeSpace %Used [inodesFree %inodesFree]