When the script checks the disk space in my root directory, the output is -84567196 kb and uhhh i dont think thats right. I have 200 megs available on my server and i only used about 3. When i click on "Disk Usage" the alert gives me 84567196 kb used and -84567196 available...theres gotta be something wrong with the script. PLEASE help me.
May 6, 2001, 10:19 PM
Novice (11 posts)
May 6, 2001, 10:19 PM
Post #2 of 3
Views: 2896
yeah, you right..
am just noticed that "Disk usage" returns incorrect values
(actually i never tried that before :-)
btw, have you changed the following default parameter?
======================
allowed_space => 500,
======================
(that means 500KB, i guess)
just set it to, let's say: 200000
(200 MB)
as for that function, i'd rather use some OS specific command like "du -ks" for disk_usage statistic
instead of "File::Find" module ('cuz i know Unix shell better than Perl :-)
will check that, anyway..
am just noticed that "Disk usage" returns incorrect values
(actually i never tried that before :-)
btw, have you changed the following default parameter?
======================
allowed_space => 500,
======================
(that means 500KB, i guess)
just set it to, let's say: 200000
(200 MB)
as for that function, i'd rather use some OS specific command like "du -ks" for disk_usage statistic
instead of "File::Find" module ('cuz i know Unix shell better than Perl :-)
will check that, anyway..
May 7, 2001, 4:53 PM
New User (2 posts)
May 7, 2001, 4:53 PM
Post #3 of 3
Views: 2899
I think the problem was the allowed_space function. After reading the text file on how to configure the script to my liking, i didnt want the script to check the available disk space so i deleted the allowed_space command line. That was my problem. I put it back in and set it to 200000 and it works fine...thanks