Giter Club home page Giter Club logo

diskusage's People

Contributors

aleksaan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

diskusage's Issues

Network Share Folders Size?

server
wmic-cmd
diskusage
network

using "diskusage.exe" i get size ~44 GB
using "network share" from another PC I get ~20 GB
If I get properties directly on respective server I get ~15 GB

Could you please explain me , how exactly size is being calculated by diskusage.exe and why is that different from other two

Order by

It would be nice to control order by some field. I can see it defaults to size decreasingly, but I would want by name, as seen in my explorer window.

Also, if it isn't yet a feature, would -limit 0 be limitless?

Saving results to a csv file

Target: Get CSV file for most comfortly working with results

To do:

  1. add option -csv
  2. if -csv isn't set clearly that no scv file will be generated
  3. if -csv option is not contains filename this one will be generated as <res_yyyy.MM.dd_hh:mm:ss.csv>

High memory consumption when more than 8M files count.

Hi,

I'm using diskusage.exe for more than one year to monitor most consumming directories. It is very simple and handy tool.
However while scanning of one my disk (with logs) containing:
Overall info:
Total time: 4h35m55.7915268s
Total dirs: 499520
Total files: 8887953
Total links: 0
Total size: 10.45 Tb
diskusage.exe (on Windows 64bit) consumes more than 3GB of RAM. It tooks also more than 4 hours.

Is there some way how to optimize at least - memory consumption or also the time needed?

Jurajazz

fixunit is not work

i set fixunit ,but it not work, this is my options:

analyzer:
  path: D:\test
  depth: 1
printer:
  limit: 0
  fixunit: Mb
  sort:  name_asc
  tofile: diskusage_out.txt

Input data is in not compatible format: invalid character 'ÿ' looking for beginning of value

`duck_f.exe -depth=3 -size=c -top=12 -filter=d -hr < .\results_a.txt
Input data is in not compatible format: invalid character 'ÿ' looking for beginning of value

Arguments:
filter: d
depth: 3
top: 12
hr: true
size: c

Results:`

Maybe some charset conversion is needed? How could I replace all invalid characters in my result.txt with a cmd command? which charset was chosen?

Do not output excess results

Sergey Glaznitsa: Do not render excess results.
Example of current results (limit=2):
C:\a - 100Mb
C:\a\b - 99Mb
(C:\x - 30Mb - do not output because is less than a & b folders.)

Output has two rows with the same folder. However folder c:\a contains (without C:\a\b) only 1Mb of its 100Mb volume. Only 1% of volume. And folder C:\a\b contains 99% of volume.
It is not nessesary to output c:\a volume in this case.
Results should be like that:
C:\a\b - 99Mb
C:\x - 30Mb
(C:\a - 100Mb - do not output because its "clean" size (without C:\a\b) only 1Mb and other 99Mb has been printed yet above for c:\a\b folder)

Second example:
C:\a - 100Mb (clean size is 51Mb)
C:\a\b - 49Mb
(C:\x - 30Mb - do not output because is less than a (clean size) & b size)

C:\a "clean" volume (without C:\a\b) is 51Mb and that is reason to include c:\a to results.

Show all files/folders in Human-Readable mode

Just discovered this from StackOverflow and I'm impressed with the speed of this versus using dir or Get-ChildItem.

However, for my use case, I simply want to print out all the files and folders in a nice table with sizes in human-friendly values (kB, MB, GB, etc.).

The -hr switch works great, but it cuts off the results after a certain number of rows and only shows the last row after that. Looking at the code, it's after 48 rows.

Is there a planned feature to allow for all rows to be shown in -hr mode? It's bit a of a shame that the options are so few for what seems like a great tool :)

image

Side note: sometimes the first few letters are omitted from folders, like ode_modules instead of \node_modules. Am I doing something wrong?

Is it possible to do the same for files?

This tool works great to index the largest folders. Are you planning to add a function to do the same for files, so it is possible to find the largest files on a drive in the same format?

GUI

Will you create graphical user interface ?

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.