How to monitor free space on C: of Servers

D

David Reed

Hi Everyone,

I'm looking for a way to monitor the hard drive space on the C: partition of
my Win2k Server (with AD installed). I need to do something 'free'. I need
some sort of alert, either an email via our Exchange 2000 Server, or a
message sent to my machine.

Anyone got any thoughts?

David
 
R

Ray at

Posting this to all these groups is going to get you yelled at. Please post
to one or two on-topic groups. (At least you didn't multipost though. :])

for /f "tokens=3" %q in ('dir /-c /a:d C:\ ^|find "bytes free"') do (if %q
LSS 104857600 net send DAVID %computername% only has %q bytes free)

If my math is right, 104857600 is 100 MB. If you'd like a script in another
language or something beyond just a simple net send alert, try posting ONE
of the .scripting groups, such as microsoft.public.windows.server.scripting.

Ray at work
 
D

David Reed

Hi Ray,

That's okay, I'm in the IT field. I'm used to being yelled at. :)

Thanks for your suggestion. I was wondering if there was any way to use a
performance alert or something like that to do it, so I could be notified
via email or a message sent to my machine.

Any thoughts on that?

Regards,

David


Ray at said:
Posting this to all these groups is going to get you yelled at. Please post
to one or two on-topic groups. (At least you didn't multipost though. :])

for /f "tokens=3" %q in ('dir /-c /a:d C:\ ^|find "bytes free"') do (if %q
LSS 104857600 net send DAVID %computername% only has %q bytes free)

If my math is right, 104857600 is 100 MB. If you'd like a script in another
language or something beyond just a simple net send alert, try posting ONE
of the .scripting groups, such as microsoft.public.windows.server.scripting.

Ray at work

David Reed said:
Hi Everyone,

I'm looking for a way to monitor the hard drive space on the C:
partition
of
my Win2k Server (with AD installed). I need to do something 'free'. I need
some sort of alert, either an email via our Exchange 2000 Server, or a
message sent to my machine.

Anyone got any thoughts?

David
 
R

Ray at

I bet you'll come up with an answer to those questions in a SCRIPTING group.
hint hint :]

Ray at work

David Reed said:
Hi Ray,

That's okay, I'm in the IT field. I'm used to being yelled at. :)

Thanks for your suggestion. I was wondering if there was any way to use a
performance alert or something like that to do it, so I could be notified
via email or a message sent to my machine.

Any thoughts on that?

Regards,

David


Ray at said:
Posting this to all these groups is going to get you yelled at. Please post
to one or two on-topic groups. (At least you didn't multipost though. :])

for /f "tokens=3" %q in ('dir /-c /a:d C:\ ^|find "bytes free"') do (if %q
LSS 104857600 net send DAVID %computername% only has %q bytes free)

If my math is right, 104857600 is 100 MB. If you'd like a script in another
language or something beyond just a simple net send alert, try posting ONE
of the .scripting groups, such as microsoft.public.windows.server.scripting.

Ray at work

David Reed said:
Hi Everyone,

I'm looking for a way to monitor the hard drive space on the C:
partition
of
my Win2k Server (with AD installed). I need to do something 'free'.
I
need
some sort of alert, either an email via our Exchange 2000 Server, or a
message sent to my machine.

Anyone got any thoughts?

David
 
D

David

won't Disk Quota tool do what you want...... its one of the tools for every
drive ...

David Ashley


Ray at said:
I bet you'll come up with an answer to those questions in a SCRIPTING group.
hint hint :]

Ray at work

David Reed said:
Hi Ray,

That's okay, I'm in the IT field. I'm used to being yelled at. :)

Thanks for your suggestion. I was wondering if there was any way to use a
performance alert or something like that to do it, so I could be notified
via email or a message sent to my machine.

Any thoughts on that?

Regards,

David


Ray at said:
Posting this to all these groups is going to get you yelled at.
Please
post
to one or two on-topic groups. (At least you didn't multipost though. :])

for /f "tokens=3" %q in ('dir /-c /a:d C:\ ^|find "bytes free"') do
(if
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top