Sysinternals
Advanced system utilities to manage, troubleshoot, and diagnose Windows and Linux systems and applications.
1,151 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
BUG REPORT:
It seems that du
doesn't report the correct size of directories.
Example: The size of C:\Users\public
is 741 MB on my machine. DU disagrees:
C:\Users>du public
DU v1.62 - Directory disk usage reporter
Copyright (C) 2005-2018 Mark Russinovich
Sysinternals - www.sysinternals.com
Files: 757
Directories: 227
Size: 741 bytes
Size on disk: 744 bytes
It seems like somewhere the information that the 741 is in units of MB is getting lost.
When running in CSV mode, the information is still there:
C:\Users>du -c public
DU v1.62 - Directory disk usage reporter
Copyright (C) 2005-2018 Mark Russinovich
Sysinternals - www.sysinternals.com
Path,CurrentFileCount,CurrentFileSize,FileCount,DirectoryCount,DirectorySize,DirectorySizeOnDisk
"C:\Users\public",1,174,757,227,741024814,744308736
This could maybe be related to German localization, because of different separating and grouping symbols for large numbers.