Re: Problem with the Unix 'du' command via perl script

2003-06-17 Thread Tony Frasketi
Santos > Sr. Unix System Administrator > APS/Pinnacle West > Phoenix, AZ USA > > -Original Message- > From: Tony Frasketi [mailto:[EMAIL PROTECTED] > Sent: Tuesday, June 17, 2003 1:13 PM > To: Bob Showalter; [EMAIL PROTECTED] > Subject: Re: Problem with the

RE: Problem with the Unix 'du' command via perl script

2003-06-17 Thread Jason . Santos
To: Bob Showalter; [EMAIL PROTECTED] Subject: Re: Problem with the Unix 'du' command via perl script Hi Bob Thanks for the response. I checked the system error log and didn't find any Permission Denied errors for the directory in question (xxxtemp). Below is a listing of the

Re: Problem with the Unix 'du' command via perl script

2003-06-17 Thread Tony Frasketi
Hi Bob Thanks for the response. I checked the system error log and didn't find any Permission Denied errors for the directory in question (xxxtemp). Below is a listing of the directory which contains the offending subdirectory 'xxxtemp'. 'xxxtemp' was an older version of subdirectory 'temp'. There

RE: Problem with the Unix 'du' command via perl script

2003-06-17 Thread Bob Showalter
Tony Frasketi wrote: > Thanks for all the suggestions folks! > > I had been trying to find the size of my entire web site by using the > 'du -sb ' command in a Perl script to be executed > from the Web. > > But I kept coming up with a diffence of 2,177,024 bytes between the > output of the 'du'

Re: Problem with the Unix 'du' command via perl script

2003-06-17 Thread Tony Frasketi
Thanks for all the suggestions folks! I had been trying to find the size of my entire web site by using the 'du -sb ' command in a Perl script to be executed from the Web. But I kept coming up with a diffence of 2,177,024 bytes between the output of the 'du' command when executed from the Perl

RE: Problem with the Unix 'du' command via perl script

2003-06-17 Thread Dan Muey
> Hello Dan > Thanks for the response. I tried your suggestion but I still > get the differing sizes... So I'm still looking for a solution. > > >my($size) = `du -sb `; My suggetion just helped you get only the number of bytes it returned into $size instead of the Bytes, whitespace, and dir

RE: Problem with the Unix 'du' command via perl script

2003-06-16 Thread jandrspencer
-Original Message- From: jandrspencer [mailto:[EMAIL PROTECTED] Sent: Monday, June 16, 2003 7:31 PM To: [EMAIL PROTECTED] Subject: RE: Problem with the Unix 'du' command via perl script Hello, Tony. Try something like: #!/usr/bin/perl -w use strict; my($size) = `du

Re: Problem with the Unix 'du' command via perl script

2003-06-16 Thread Tony Frasketi
Hello Dan Thanks for the response. I tried your suggestion but I still get the differing sizes... So I'm still looking for a solution. Thanks again Tony Frasketi Dan Muey wrote: > > > I'm having a problem with the results of the Unix 'du' > > command in that I get different results when I execu

RE: Problem with the Unix 'du' command via perl script

2003-06-16 Thread Dan Muey
> I'm having a problem with the results of the Unix 'du' > command in that I get different results when I execute the > 'du' command from the Unix command line... > >du -sb > > and when I execute the 'du' command from a Perl script using > backtic statement. > >my($size) = `du -sb `