Ditto here for TreeSize. Excellent tool.
If you want to check with a script which subdirs have grown really big over-night, let's say try using DIRUSE.
C:\AdminFiles>diruse /?
DIRUSE displays a list of disk usage for a directory tree(s). Version 1.20
DIRUSE [/S | /V] [/M | /K | /B] [/C] [/,] [/Q:# [/L] [/A] [/D] [/O]] [/*] DIRS
/S Specifies whether subdirectories are included in the output.
/V Output progress reports while scanning subdirectories. Ignored if /S is specified.
/M Displays disk usage in megabytes.
/K Displays disk usage in kilobytes.
/B Displays disk usage in bytes (default).
/C Use Compressed size instead of apparent size.
/, Use thousand separator when displaying sizes.
/L Output overflows to logfile .\DIRUSE.LOG.
/* Uses the top-level directories residing in the specified DIRS
/Q:# Mark directories that exceed the specified size (#) with a "!".
(If /M or /K is not specified, then bytes is assumed.)
/A Specifies that an alert is generated if specified sizes are exceeded.
(The Alerter service must be running.)
/D Displays only directories that exceed specified sizes.
/O Specifies that subdirectories are not checked for specified size
overflow.
DIRS Specifies a list of the paths to check.
Note: Parameters can be typed in any order. And the '-' symbol can be
used in place of the '/' symbol.
Also, if /Q is specified, then return code is ONE if any directories are found that
exceed the specified sizes. Otherwise the return code is ZERO.
Example: diruse /s /m /q:1.5 /l /* c:\users
Hope this helps.
--
Always try the MS KB first before posting.
MS KB:
http://support.microsoft.com/default.aspx?scid=fh;EN-US;KBHOWTO
And the answer could have already been posted, so try searching this and other newsgroups first.
----
Mark-Allen Perry
ALPHA Systems
Marly, Switzerland
mark-allen_AT_mvps_DOT_org
Lanwench said:
Hi all,
The other day the free disk space on one of my win2k server decreased
with 3GB. This is the disk that contains user data and shared data. Is
there anyway I can EASILY track which (user)directory (or file) has
grown that fast. Is there any service that I have to run for that. Or
any (third party?) software I have to install so that in future cases
I can track unexpected growth of directories?
Kind regards,
Willem
I use TreeSize Pro (shareware - google it) - a very nice utility for
tracking down sudden disk space loss.