This doesn't really deserve a separate thread:
2.5.1 is now out, making a couple of minor enhancements to
dpm-sql-list-hotfiles as requested by Duncan.
--implicit-suffix K
output all filesizes with the same (implicit) SI suffix (B, K, M,
etc). This is supposed to be helpful for people trying to use the
output data in spreadsheets. This option also changes the text output
for a file no longer in the DPM to "None", to better fit in
Spreadsheet cells (it's also more Pythonic)
--surls
output the surls (in the DPM namespace) for the files, rather than the
pfn (location on the pool's local filesystem).
Sam
2009/7/31 Sam Skipsey <[log in to unmask]>:
> Hi everyone,
>
> Just to announce that I've made a 2.5.0 release for the gridpp DPM tools rpm.
> The main improvement is the inclusion of a "hot files" listing tool,
> dpm-sql-list-hotfiles, which should be used like so
>
> dpm-sql-list-hotfiles --days N --num M
> where N is the number of days of history you want to consider and M is
> the length of the list you want returned.
> Note that the query involved is a little loading on the DB, so don't
> do this excessively when the DPM is busy.
>
> (Downloads at the usual place:
> http://www.sysadmin.hep.ac.uk/rpms/fabric-management/RPMS.storage/
> )
>
> Sam
>
|