For Programmers: Free Programming Magazines  


Home > Archive > PERL Beginners > February 2007 > Re: How to reinvent the linux









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: How to reinvent the linux
Jeff Pang

2007-02-16, 9:59 pm


>
>Can someone suggest where I would look to reinvent "df" with perl? The "df"
>command enumerates all the drives and partitions and interrogates them for
>the amount of disk space total, used and available. Is there an OS neutral
>way to write this program? I hope so. If not, this will be running on
>xubuntu (linux).
>


How about "Filesys::Df"?Please take a look at:
http://search.cpan.org/~iguthrie/Filesys-Df-0.92/Df.pm

--
Jeff Pang
EMAIL: pangj@earthlink.net AIM: jeffpang
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com