Solved

checking Disk space

Posted on 2003-12-02
6
287 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
Comment Utility
0
 
LVL 48

Expert Comment

by:Mikal613
Comment Utility
0
 
LVL 2

Author Comment

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

Assisted Solution

by:martinv
martinv earned 67 total points
Comment Utility
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

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
JRE Blackdown JRE 1.1.8 v3 3 85
PYTHON: Updating local variable in .TPL file 24 123
bunnyEars2 challenge 6 66
wordlen challenge 3 46
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.
This article will show, step by step, how to integrate R code into a R Sweave document
This video teaches viewers about errors in exception handling.
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…

744 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now