You could maybe write a shell script owned by mysql, but executable by
world, that looks at the file sizes.
--
WARNING [EMAIL PROTECTED] address is not working -- Use [EMAIL PROTECTED]
Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm
----- Original Message -----
From: "Mark Lo" <[EMAIL PROTECTED]>
Newsgroups: php.general
Sent: Sunday, April 29, 2001 8:01 AM
Subject: [PHP] how to measure databases
> Hi,
>
> I would like to know how to measure how many MB of one particular
> databases is taken in PHP command. I know I can always use the command of
> du ... . But this command is not work under apache because the user and
> group are nobody, while the user and group for mysql is mysql, also the
> permission is set to read and write only for mysql user and group. I
would
> like to know is there any other method to measure the databases then post
it
> on the web.
>
> Thank you
>
> Mark
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]