Solved

checking Disk space

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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Hibernate methods 2 77
count7 challenge 12 126
countX 22 135
NodeJS, Parse-server, express basic tutorial to write and read data from a html page. Where can I find one? 5 151
How to remove superseded packages in windows w60 or w61 installation media (.wim) or online system to prevent unnecessary space. w60 means Windows Vista or Windows Server 2008. w61 means Windows 7 or Windows Server 2008 R2. There are various …
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 tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.

830 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