Advertisement

02.03.2004 at 12:05PM PST, ID: 20872121
[x]
Attachment Details

Disk Utilization Report Script for Windows 2000 Server (Active Directory)

Asked by underachiever in Perl Programming Language

Tags: disk, utilization, windows, script, report

Problem/Requirements:
I cannot use Active Directory to manage quotas and limit utilization, so I need script that would provide one feature - report disk utilization by user/group.
Details are below

Desired features/flow:
=============
1. Scan recursively desired folders (paths can be passed as parameters or as variables inside the script) and for each file, obtain ownership info (user/group) and total file sizes. The Server and users/groups are in Active Directory (I don't know if on Windows this info can be obtained without AD?)

2. Create Disk Utilization Report (tab-delimted text file) by user and by group  sorted in three ways - by user name, by group, by disk utilization (MB).
Example:
User         Size (MB)  File Count
======================
joe           20    202
jack          532   12322

Group         Size (MB)  File Count
======================
users       1231232 342342343
Administrators 234342 34323

3. Users near or over X MB and groups near over Y MB of files (X, Y may be passed as parameters or hard-coded in the script, either is OK).
a. List users and groups accounts over 80% and under 90% of X and Y, respectively
Example:
Users with 80-90% quota utilization
=====================
joe 81%
andy 89%
b. Same as 3a, only for users over 100

OS: Windows 2K SP4
Other: I'd prefer Perl or some other easy to learn language (so that I can modify details without bothering others) but anything that does the job is welcome.Start Free Trial
 
Keywords: Disk Utilization Report Script for Windo…
 
Loading Advertisement...
 
[+][-]02.03.2004 at 01:30PM PST, ID: 10265338

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]02.03.2004 at 01:31PM PST, ID: 10265346

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]02.03.2004 at 01:57PM PST, ID: 10265589

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]02.03.2004 at 01:59PM PST, ID: 10265600

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]02.03.2004 at 02:08PM PST, ID: 10265682

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]02.03.2004 at 05:29PM PST, ID: 10267160

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]02.03.2004 at 06:54PM PST, ID: 10267682

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]02.03.2004 at 08:54PM PST, ID: 10268336

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]02.04.2004 at 05:28AM PST, ID: 10270554

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]02.04.2004 at 05:47AM PST, ID: 10270718

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]02.04.2004 at 05:47AM PST, ID: 10270723

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]02.04.2004 at 12:28PM PST, ID: 10274545

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]02.04.2004 at 02:58PM PST, ID: 10275934

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]02.19.2004 at 05:30PM PST, ID: 10408647

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]02.19.2004 at 06:07PM PST, ID: 10408870

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Perl Programming Language
Tags: disk, utilization, windows, script, report
Sign Up Now!
Solution Provided By: kandura
Participating Experts: 2
Solution Grade: A
 
 
[+][-]02.20.2004 at 08:45PM PST, ID: 10418039

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32