Hi all Does anyone have a Zope equivalent for the Unix 'du' command? I want to find out what's hogging space in a ZODB .. -- Jean Jordaan Upfront Systems http://www.upfrontsystems.co.za
On Mon, 22 Apr 2002 16:48:46 +0200, "Jean Jordaan" <jean@upfrontsystems.co.za> wrote:
Does anyone have a Zope equivalent for the Unix 'du' command? I want to find out what's hogging space in a ZODB ..
tranalyser? Youll find it on www.zope.org Toby Dickenson tdickenson@geminidataloggers.com
Hi Toby Thanks! I have tranalyzer, but this use of it slipped my mind. -- Jean Jordaan Upfront Systems http://www.upfrontsystems.co.za
Eeew .. Should I worry about this? Zope's performing fine .. upfront:~/Zope/var$ ../../tranalyzer.py Data.fs > ~/tranalyzer.out Traceback (innermost last): File "../../tranalyzer.py", line 333, in ? main(sys.argv) File "../../tranalyzer.py", line 325, in main t = Transaction(f, off, refs) File "../../tranalyzer.py", line 170, in __init__ self.obs.append(Record(f, refs)) File "../../tranalyzer.py", line 201, in __init__ self.prevrec = f.u64() File "../../tranalyzer.py", line 121, in u64 self.checkleft(8) File "../../tranalyzer.py", line 87, in checkleft raise 'Not enough data left, %d < %d' % (self.left, n) Not enough data left, 0 < 8 -- Jean Jordaan Upfront Systems http://www.upfrontsystems.co.za
Jean Jordaan writes:
Eeew .. Should I worry about this? Zope's performing fine ..
upfront:~/Zope/var$ ../../tranalyzer.py Data.fs > ~/tranalyzer.out Traceback (innermost last): File "../../tranalyzer.py", line 333, in ? main(sys.argv) File "../../tranalyzer.py", line 325, in main t = Transaction(f, off, refs) File "../../tranalyzer.py", line 170, in __init__ self.obs.append(Record(f, refs)) File "../../tranalyzer.py", line 201, in __init__ self.prevrec = f.u64() File "../../tranalyzer.py", line 121, in u64 self.checkleft(8) File "../../tranalyzer.py", line 87, in checkleft raise 'Not enough data left, %d < %d' % (self.left, n) Not enough data left, 0 < 8 Apparently, "tranalyser" needs to be updated.
Me, too, I hit this problem today. It appears "tranalyser" cannot handle versions. I used "lib/python/ZODB/fsrecover.py -v2" instead. Dieter
Hi Dieter
Me, too, I hit this problem today. It appears "tranalyser" cannot handle versions.
Ah, is this the problem!
I used "lib/python/ZODB/fsrecover.py -v2" instead.
Hmm, this is a newer version of the script (takes options [1]) than the one that came with 2.4.3 .. I'll upgrade it, thanks! -- Jean Jordaan Upfront Systems http://www.upfrontsystems.co.za [1] looks like this was the change: http://mail.python.org/pipermail/zodb-checkins/2001-November/000786.html
participants (3)
-
Dieter Maurer -
Jean Jordaan -
Toby Dickenson