Solved

checking Disk space

Posted on 2003-12-02
6
291 Views
Last Modified: 2008-02-26
Hi guys i need to write or have a script that checks the harddrive's of my sever/worstation .i.e checks this partition's
:C , :D , :E .etc the available space, used space and cabacity: and the machine's name and IP address and this will run locally on
each machine and i will like this infomation to be send to me via email.

Thanks in advance

chz
0
Comment
Question by:Thlware
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
6 Comments
 
LVL 48

Accepted Solution

by:
Mikal613 earned 68 total points
ID: 9866592
0
 
LVL 48

Expert Comment

by:Mikal613
ID: 9866595
0
 
LVL 2

Author Comment

by:Thlware
ID: 9880388
I will apriciate a PERL solutions / or thanks
chz
0
 
LVL 6

Assisted Solution

by:martinv
martinv earned 67 total points
ID: 9917094
What about this one?

use Win32::DriveInfo;

$TotalNumberOfFreeBytes = (Win32::DriveInfo::DriveSpace('c:'))[6];


(taken from:
http://www.experts-exchange.com/Programming/Programming_Languages/Perl/Q_20789581.html
)
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
gHappy challenge 67 135
post4 challenge 28 121
Python Encoding Problem \u2013 4 138
Non-recursive backtracking, using a stack 1 305
Navigation is an important part of web design from a usability perspective. But it is often a pain when it comes to a developer’s perspective. By navigation, it often means menuing. This is less theory and more practical of how to get a specific gro…
If you haven’t already, I encourage you to read the first article (http://www.experts-exchange.com/articles/18680/An-Introduction-to-R-Programming-and-R-Studio.html) in my series to gain a basic foundation of R and R Studio.  You will also find the …
The goal of this video is to provide viewers with basic examples to understand and use conditional statements in the C programming language.
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…

738 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question