meraxes has asked for the wisdom of the Perl Monks concerning the following question:
I have what would seem to me to be a very simple question, but I've not found any answer in my searching.
If one wishes to determine the amount of disk space remaining, it appears that using backticks and capturing the output of something like 'dir' (sorry, I'm a win32 user...) is the way to go. Is there a module or core perl function that can do this (specifically, platform independant) way of determining how much space is left? I found plenty that will tell me how much is used, but not the 'remaining' space.
Many thanks,
|\/|eraxes
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Remaining Diskspace
by Marza (Vicar) on Jun 17, 2002 at 22:27 UTC | |
|
Re: Remaining Diskspace
by gumby (Scribe) on Jun 17, 2002 at 20:50 UTC | |
by meraxes (Friar) on Jun 17, 2002 at 22:50 UTC | |
by rob_au (Abbot) on Jun 18, 2002 at 00:11 UTC | |
| A reply falls below the community's threshold of quality. You may see it by logging in. |