?
Solved

checking Disk space

Posted on 2003-12-02
6
Medium Priority
?
295 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 272 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 268 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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

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.
Whether you’re a college noob or a soon-to-be pro, these tips are sure to help you in your journey to becoming a programming ninja and stand out from the crowd.
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Suggested Courses

752 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