[Zope] Database Size
Joel Burton
jburton@scw.org
Fri, 20 Jul 2001 09:33:11 -0400 (EDT)
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