Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Need Help to Get disk info in Perl

Status
Not open for further replies.

wdellin

MIS
Feb 8, 2002
36
US
I could use some help.

I want to write a perl script to report disk space(ie. total space, used, free, etc) on all the windows servers we have for our sql server data.
I can provide the server/drive to the script if I need to, but what perl commands pulls the information? I'm stuck on where to start. Any direction from the perl experts would be appreciated.
 
I'm assuming that you're using a Windows machine to run the script as well. If so, take a look at the documentation for Win32::DriveInfo. It should do exactly what you're looking for and more.

- Rieekan
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top