Giter Club home page Giter Club logo

arweave-storage-module-sizes's Introduction

arweave-storage-module-sizes

Python program to create a sorted list of storage module subdirectories and their sizes. First list is sorted by size and the second list is sorted by storage module number with total for each list. Modify line storage_modules_dir = '/mnt/md0/arweave/storage_modules' to put the location of your storage_modules.

Sample output:
Sort 1
2023-05-23 20:36:38
Sorted by file size:
0.000 TB 2023-05-23 20:36:36 storage_module_41 sdt
0.029 TB 2023-05-23 20:36:38 storage_module_40 sds
0.547 TB 2023-05-23 20:36:36 storage_module_31 lv20a
0.652 TB 2023-05-23 20:36:37 storage_module_30 lv20
1.101 TB 2023-05-23 20:36:38 storage_module_8 lv8
1.145 TB 2023-05-23 20:36:36 storage_module_32 lv21
1.197 TB 2023-05-23 20:36:37 storage_module_7 lv7
1.228 TB 2023-05-23 20:36:37 storage_module_9 lv9
1.304 TB 2023-05-23 20:36:37 storage_module_0 sdv

Sort 2
2023-05-23 20:36:38
Sorted by storage module number:
1.304 TB 2023-05-23 20:36:37 storage_module_0 sdv
1.576 TB 2023-05-23 20:36:36 storage_module_1 lv40
1.761 TB 2023-05-23 20:36:37 storage_module_2 lv2
2.194 TB 2023-05-23 20:36:37 storage_module_3 lv3
1.971 TB 2023-05-23 20:36:37 storage_module_4 lv4
2.131 TB 2023-05-23 20:36:37 storage_module_5 lv5
1.355 TB 2023-05-23 20:36:36 storage_module_6 lv6
1.197 TB 2023-05-23 20:36:37 storage_module_7 lv7
1.101 TB 2023-05-23 20:36:38 storage_module_8 lv8
1.228 TB 2023-05-23 20:36:37 storage_module_9 lv9
2.214 TB 2023-05-23 20:36:36 storage_module_10 lv10

arweave-storage-module-sizes's People

Contributors

edstewbob avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.