On Fri, 2003-08-15 at 12:36, Marek Kilimajer wrote:
> Are you sure it hangs? It might take a long time to get occupied size.
> This also depends on the filesystem used, I heard reserfs is best at this.
>
Well, I thought it was hanging cuz 15 mins went past without any
return...then I figured it h
Are you sure it hangs? It might take a long time to get occupied size.
This also depends on the filesystem used, I heard reserfs is best at this.
Chris Blake wrote:
Greetings learned PHP(eople);
Is there a way to calculate the size of directory in PHP ?
I searched php.net and only found ways of
Greetings learned PHP(eople);
Is there a way to calculate the size of directory in PHP ?
I searched php.net and only found ways of opening directories and
reading file sizes
One suggestion on there was to do the following :
$mstrng = shell_exec('du -sc /backup/');
echo '' . $mstrng . '';
W
At 00:40 04.04.2003, Mantas Kriauciunas said:
[snip]
>Hey
>I looked up in the manual but found only
>Disk_total_space
>Disk_free_space
>
>Is there anything like total_space for directory?
>Or I will have to think of something else?
>Like counting every file
Hey
I looked up in the manual but found only
Disk_total_space
Disk_free_space
Is there anything like total_space for directory?
Or I will have to think of something else?
Like counting every file size and adding it to total.
But if there is like 1000 files with directories in the main directory.
Jeff
- Original Message -
From: "Marek Kilimajer" <[EMAIL PROTECTED]>
To: "Antti" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Monday, February 03, 2003 4:37 AM
Subject: Re: [PHP] Directory size
> there is no php function for this, you can us
there is no php function for this, you can use unix command du or do it
in a loop
Antti wrote:
How do I get the directory size? Suppose there is a function for this.
antti
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
How do I get the directory size? Suppose there is a function for this.
antti
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Tried this earlier but have had no takersis it a no go? Please read on.
Hello!
I hope someone can help me with this...it's doin' my head in!
Below I have a class I found for finding out directory sizes. What I have
done is to get the username of each user and their create a directory pat
Hello!
I hope someone can help me with this...it's doin' my head in!
Below I have a class I found for finding out directory sizes. What I have
done is to get the username of each user and their create a directory path
(based on their username - these directories do exist with subdirs).
This w
10 matches
Mail list logo