You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

92 lines
3.2 KiB

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <openerp>
  3. <data>
  4. <record model="ir.ui.view" id="server_monitor_process_search_view">
  5. <field name="name">Server Monitor Process search view</field>
  6. <field name="model">server.monitor.process</field>
  7. <field name="arch" type="xml">
  8. <search string="Search Server Monitor Process" version="7.0">
  9. <field name="model"/>
  10. <field name="method"/>
  11. <field name="uid"/>
  12. <group expand="0" string="Group By...">
  13. <filter string="date" domain="[]" context="{'group_by': 'name'}"/>
  14. <filter string="PID" domain="[]" context="{'group_by': 'pid'}"/>
  15. <filter string="model" domain="[]" context="{'group_by': 'model'}"/>
  16. <filter string="method" domain="[]" context="{'group_by': 'method'}"/>
  17. </group>
  18. </search>
  19. </field>
  20. </record>
  21. <record model="ir.ui.view" id="server_monitor_process_tree_view">
  22. <field name="name">Server Monitor Process tree view</field>
  23. <field name="model">server.monitor.process</field>
  24. <field name="arch" type="xml">
  25. <tree string="Server Monitor Process" version="7.0">
  26. <field name='name'/>
  27. <field name='pid'/>
  28. <field name='cpu_time'/>
  29. <field name='memory'/>
  30. <field name='uid'/>
  31. <field name='model'/>
  32. <field name='method'/>
  33. </tree>
  34. </field>
  35. </record>
  36. <record model="ir.ui.view" id="server_monitor_process_form_view">
  37. <field name="name">Server Monitor Process form view</field>
  38. <field name="model">server.monitor.process</field>
  39. <field name="arch" type="xml">
  40. <form string="Server Monitor" version="7.0">
  41. <sheet>
  42. <field name="name"/>
  43. <notebook>
  44. <page string='call information'>
  45. <group>
  46. <field name='pid'/>
  47. <field name='thread'/>
  48. <field name='cpu_time'/>
  49. <field name='memory'/>
  50. <field name='uid'/>
  51. <field name='model'/>
  52. <field name='method'/>
  53. <field name='status'/>
  54. <field name='sessionid'/>
  55. </group>
  56. </page>
  57. <page string="Class count">
  58. <group>
  59. <field name='class_count_ids' nolabel="1">
  60. <tree>
  61. <field name='name'/>
  62. <field name='count'/>
  63. </tree>
  64. </field>
  65. </group>
  66. </page>
  67. </notebook>
  68. <group>
  69. <field name='info' string="Information"/>
  70. </group>
  71. </sheet>
  72. </form>
  73. </field>
  74. </record>
  75. <record model="ir.actions.act_window" id="server_monitor_process_info">
  76. <field name="name">Process Info</field>
  77. <field name="res_model">server.monitor.process</field>
  78. <field name="view_mode">tree,form</field>
  79. </record>
  80. <menuitem name="Process Info"
  81. parent="server_monitoring"
  82. id="server_monitor_process_menu"
  83. action="server_monitor_process_info"
  84. sequence="10"/>
  85. </data>
  86. </openerp>