[Erp5-dev] treenalyser.py: Zodb inspection tool

Pelletier Vincent vincent at nexedi.com
Tue Jul 24 10:16:48 CEST 2007


> I commited (r15283) a tool to display FileStorage content for a given
> object, recursing to subobjects to get total used space.

Invocation sample:
$ export PYTHONPATH=/usr/lib/zope/lib/python
$ python treenalyser.py -xcp \
  "root['Application']['erp5'].__Broken_state__['foo_module']" \
  Data.fs

This will display size use of foo_module, displaying class of all encountered 
objects and displaying their individual hexadecimal dump.

-- 
Vincent Pelletier



More information about the Erp5-dev mailing list