: Re: stats on partitions
On 2/5/07, Tony Heal <[EMAIL PROTECTED]> wrote:
OK, so bash is the shell I am using and the df utility is a
standard Xnix command. My question is, is there a perl way
of getting the stats on partitions without having to shell out
using system() or exec()?
Well, t
On 2/5/07, Lawrence Statton XE2/N1GAK <[EMAIL PROTECTED]> wrote:
> In order to access the system's filesystem information, the Unix
> utility df is a set-id program (one with special privileges).
Umm, no.
Interesting. It is set-id on my machine, but maybe Mac OS X is an
exception. (I wonder w
Subject: Re: stats on partitions
>
> On 2/5/07, Tony Heal <[EMAIL PROTECTED]> wrote:
>
> > OK, so bash is the shell I am using and the df utility is a
> > standard Xnix command. My question is, is there a perl way
> > of getting the stats on partitions
On 2/5/07, Tony Heal <[EMAIL PROTECTED]> wrote:
OK, so bash is the shell I am using and the df utility is a
standard Xnix command. My question is, is there a perl way
of getting the stats on partitions without having to shell out
using system() or exec()?
Well, this is not unlike ask
> In order to access the system's filesystem information, the Unix
> utility df is a set-id program (one with special privileges).
Umm, no.
[EMAIL PROTECTED] - /tmp % uname -a
SunOS hummer 5.8 Generic_117350-41 sun4u sparc SUNW,Ultra-Enterprise Solaris
[EMAIL PROTECTED] - /tmp % ls -l `which df`
http://search.cpan.org/search?query=disk+space+DF&mode=all
--
Lawrence Statton - [EMAIL PROTECTED] s/aba/c/g
Computer software consists of only two components: ones and
zeros, in roughly equal proportions. All that is required is to
place them into the correct order.
--
To unsu
OK, so bash is the shell I am using and the df utility is a standard Xnix
command. My question is, is there a perl way
of getting the stats on partitions without having to shell out using system()
or exec()?
Tony
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PRO
On 2/5/07, Tony Heal <[EMAIL PROTECTED]> wrote:
Specifically I want to get the total, used and available space similar
to what the bash df command does.
I don't believe that bash has a df command, but there's a standard
Unix utility called df instead. There's no need to invoke bash in
order to
This message was originally sent Sun 2/4/2007 11:32 PM, but does not appear to
have made it to the list. So I have
changed the subject slightly.
OK, what am I missing. I can not find anything that will provide me with the
stats on a partition. I could shell out and
use df or du but is it poss