Solved

checking Disk space

Posted on 2003-12-02
6
293 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

Industry Leaders: 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

Having just graduated from college and entered the workforce, I don’t find myself always using the tools and programs I grew accustomed to over the past four years. However, there is one program I continually find myself reverting back to…R.   So …
This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

688 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