On Wed, May 04, 2005 at 09:09:53AM +0100, Peter Crowther wrote: : > From: Mark Benussi [mailto:[EMAIL PROTECTED] : > Is there a Java API call I can make to detect how much disk : > space has been : > allocated to my account and the current amount used? : : Depending on how hard they've nailed down the lid on Tomcat, you *might* : be able to invoke UNIX executables using Runtime.exec().
For the OP -- does the code have to be Java? If the provider permits cronjobs, write a shell/perl/PHP script to periodically check your disk usage and dump it to a database (or some other place the Java app can get to it). -QM -- software -- http://www.brandxdev.net/ tech news -- http://www.RoarNetworX.com/ code scan -- http://www.JxRef.org/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
