?

Log in

No account? Create an account
entries friends calendar profile Previous Previous Next Next
Geeked! - Ed's journal
sobrique
sobrique
Geeked!
A simple question to any windows guru.
I'm looking for a way to do a 'df' on windows.
Basically, I want to list local drives (I don't mind if network drives show too, as long as they're identifiable), with size, and usage. (I don't mind if it's used, free or just a percentage).

Simple eh?

But here's the catch. It's got to be command line. I need to be able to run it in a script.
I'm _currently_ planning to use the sysinternals utility 'psexec' to run it on a list of 20 servers or so.

Anyone got some suggestions? I don't _really_ want to be logging in to each, doing clicky clicky on properties, simply because this is going to become a monthly report.
2 comments or Leave a comment
Comments
paulw From: paulw Date: December 20th, 2004 06:02 am (UTC) (Link)
A quick check on Google found this. A windows port of the df util

link
giantlaser From: giantlaser Date: December 20th, 2004 10:12 am (UTC) (Link)
Cygwin. GNU / Unix / Linux utilities precompiled for windows, including df. It does some funny things to pretend windows has a rooted filesystem, but it's useful.
2 comments or Leave a comment