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.
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