dmwm / DMWMMON

1 stars 8 forks source link

Human readable format for record viewing. #10

Open nataliaratnikova opened 9 years ago

nataliaratnikova commented 9 years ago

Make sure this functionality is implemented and available in the SpaceMon first release:

In the output, is it possible to translate the size given in human readable one? It would be good if one can choose it as well, like TiB or TB, GiB, GB, ... or even better if the code can adapt the result according to the real size (use the most relevant unit according to the size).

TonyWildish commented 9 years ago

does this apply to the data-service or to the CLI tools?

If it's the tools, that's fine, but I don't think we want to do this to the data-service, that's for tools to use and should be kept clean and simple.

nataliaratnikova commented 9 years ago

In the CLI tools, implemented as a function in RecordIO, this is a kind of "record viewer" I mentioned at the development meeting the other day.

nataliaratnikova commented 9 years ago

The sites should be able to view the record before uploading to the info store, if they wish so. the idea is that the same viewer can be used on the record downloaded from the data service.

nataliaratnikova commented 9 years ago

http://en.wikipedia.org/wiki/Binary_prefix