dmwm / DDM

Dynamic Data Management - Cache release and auto-replication of hot data
1 stars 9 forks source link

Provide API to give EOS popularity reports for arbitrary non-PhEDEx directories in the namespace #74

Closed nikmagini closed 9 years ago

nikmagini commented 9 years ago

Usecase: cleanup of group space on EOS.

Arguments: 1) path - top-level directory from which to start (e.g. /store/group/alca_global) 2) orderby - MAX_TDAY, READ_ACC, READ_BYTES

Output: all columns in V_XRD_STAT2_AGGR1 for every subdirectory under the top-level directory, sorted by orderby. No aggregation of lower-level directories is required.

Example code for the query: https://github.com/dmwm/DDM/blob/master/Contrib/popdb.xrootd/bin/eos_group_popcombine.py

nikmagini commented 9 years ago

Deployed to cmsweb prod with 0.3.4 on July 7th 2015:

https://cmsweb.cern.ch/popdb/victorinterface/accessedDirsStat?sitename=T2_CH_CERN&topdir=/store/group/alca_global