[Zope] Medusa Monitor

Terry Kerr terry@adroit.net
Fri, 13 Oct 2000 09:45:14 +1100


I don't think the monitor gives you any advantage?  I have never used a ptyhon prompt before...I will have to give it a go.

terry

Karl Anderson wrote:

> Jens Vagelpohl <jens@digicool.com> writes:
>
> > terry,
> >
> > you forgot the step of actually connecting to the monitor :) there is a very
> > short howto on using the correct client program to log into the monitor at:
> >
> > http://www.zope.org/Members/teyc/howtoMonitorClient
> >
> > and similar info at:
> >
> > http://www.zope.org/Documentation/Misc/DEBUGGING.txt
>
> I don't use the monitor anymore, I just mount the database from a
> Python prompt:
>
> lefty /usr/local/zope/2.2.0/lib/python= python
> Python 1.5.2 (#1, Sep 17 1999, 20:15:36)  [GCC egcs-2.91.66 19990314/Linux (egcs- on linux-i386
> Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam
> >>> import ZServer, Zope
> >>> app = Zope.app()
> >>> dir(app)
> ['Control_Panel', 'QuickStart', '__allow_groups__', '_objects', '_product_ac_permissions', '_product_meta_types', '_product_permissions', '_product_zclasses', 'acl_users', 'apps', 'bookmarks', 'breadcrumbs', 'index_html', 'standard_error_message', 'standard_html_footer', 'standard_html_header', 'tmp']
> >>>
>
> I'm not sure what the usefulness of the monitor is these days.  I
> always run ZEO, so I don't have to stop publishing to connect to the
> database from the prompt.
>
> Does the monitor give you something that interactive python doesn't?
> I do know that python in a shell is more robust than the monitor was -
> the monitor used to crash when dumping lots of info, like printing a
> large dictionary.
>
> --
> Karl Anderson                          karl@digicool.com
>
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )

--
Terry Kerr (terry@adroit.net)
Adroit Internet Solutions Pty Ltd (www.adroit.net)
Phone:   +613 9563 4461
Fax:     +613 9563 3856
Mobile:  +61 414 708 124
ICQ:     79303381