rt.zps

A Zope processes inspector
Download

rt.zps Ranking & Summary

Advertisement

  • Rating:
  • License:
  • GPL
  • Price:
  • FREE
  • Publisher Name:
  • RedTurtle Technology
  • Publisher web site:
  • http://redturtle.net

rt.zps Tags


rt.zps Description

zps is a Zope processes inspector.zps is addressed to the manager of zope and plone sites that want to get quickly get informations about the running instances of zope.Installationeasy_install psutileasy_install rt.zpsUsagezps basic usage is straightforward:$zpsCWD: /home/user/plone1User: userPID: 1234Conf: /home/user/plone1/parts/instance/etc/zope.confAddress: 8081Memory: 1.96%CWD: /home/user/plone2User: userPID: 12345Conf: /home/user/plone2/parts/instance/etc/zope.confAddress: 8082Memory: 1.96%The default action is to report, for each running instance of zope that it founds:- the Current Working Directory (CWD)- the id of the user who is running the process- the process PID- the zope configuration file used by the instance- the port (as calculated parsing the configuration file)- the memory usageTo obtain usage information for zps just type zps --help, you will get this:$zpszps - report a snapshot of the current zope processes.USAGE:zpszps --helpzps --pid 1111zps --port 8080zps --grep ploneAs you can see zps can filter the results per zps or port, e.g., if calling zps returns the report about the two instances above, you will have the following:$zps --pid 1234CWD: /home/user/plone1User: userPID: 1234Conf: /home/user/plone1/parts/instance/etc/zope.confAddress: 8081Memory: 1.96%$zps --port 8082CWD: /home/user/plone2User: userPID: 12345Conf: /home/user/plone2/parts/instance/etc/zope.confAddress: 8082Memory: 1.96%In the case no instance is found, you will have:$zpsNo running zope instance foundExamples$zps --hide CWD,User,MemoryPID: 1234Conf: /home/user/plone1/parts/instance/etc/zope.confAddress: 8081PID: 12345Conf: /home/user/plone2/parts/instance/etc/zope.confAddress: 8082$zps --hide CWD,User,MemoryCWD: /home/user/plone1User: userMemory: 1.96%CWD: /home/user/plone2User: userMemory: 1.96%Product's homepage


rt.zps Related Software