Hello, Is there a method with which one can log say every 15 min the size of the database. I would like to do this so as to start doing some capacity planning exercises. Or is there a better method, to do this. Thanks Norman
use a cron job that does an "ls -l" on Data.fs and parse / save the result? jens On Friday, July 20, 2001, at 08:03 , Norman Khine wrote:
Hello, Is there a method with which one can log say every 15 min the size of the database. I would like to do this so as to start doing some capacity planning exercises. Or is there a better method, to do this.
Thanks
Norman
On Fri, 20 Jul 2001, Norman Khine wrote:
Hello, Is there a method with which one can log say every 15 min the size of the database. I would like to do this so as to start doing some capacity planning exercises. Or is there a better method, to do this.
#!/bin/sh # # add me to cron, every 15 mins du -k /var/zope/var/Data.fs >> /var/zope/var/database_size.log -- Joel Burton <jburton@scw.org> Director of Information Systems, Support Center of Washington
participants (3)
-
Jens Vagelpohl -
Joel Burton -
Norman Khine