Skip to main content

Disk Usage v1.5

By Mark Russinovich

Published: March 27, 2013

 Download Du
(115 KB)

Rate:  
 

Introduction

Du (disk usage) reports the disk space usage for the directory you specify. By default it recurses directories to show the total size of a directory and its subdirectories.

Using Disk Usage (DU)

Usage: du [-c[t]] [-l <levels> | -n | -v] [-u] [-q] <directory>

-cPrint output as CSV. Use -ct for tab delimiting.
-lSpecify subdirectory depth of information (default is all levels).
-nDo not recurse.
-vShow size (in KB) of intermediate directories.
-uCount each instance of a hardlinked file.
-qQuiet (no banner).

 

CSV output is formatted as:

Path, CurrentFileCount, CurrentFileSize, FileCount, DirectoryCount, DirectorySize

Download

Download Du
(115 KB)

Download

Download


Download Du

(115 KB)


Runs on:

  • Client: Windows XP and higher.
  • Server: Windows Server 2003 and higher.
Microsoft is conducting an online survey to understand your opinion of the MSDN Web site. If you choose to participate, the online survey will be presented to you when you leave the MSDN Web site.

Would you like to participate?