ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/cms/source/server/uk/org/iscream/cms/server/client/monitors/Paging__Monitor.java
(Generate patch)

Comparing projects/cms/source/server/uk/org/iscream/cms/server/client/monitors/Paging__Monitor.java (file contents):
Revision 1.1 by tdb, Sun Mar 9 21:49:13 2003 UTC vs.
Revision 1.4 by tdb, Thu Jan 15 14:10:13 2004 UTC

# Line 61 | Line 61 | public class Paging__Monitor extends MonitorSkeleton {
61       * @param packet the XMLPacket to analyse
62       */
63      public void analysePacket(XMLPacket packet) {
64
64          String source = packet.getParam("packet.attributes.machine_name");
65 +        if(!checkBooleanConfig("Host." + source, "Monitor." + _name + ".enable")) {
66 +            return;
67 +        }
68          if (!_hosts.containsKey(source)) {
69              HashMap attributeRegisters = new HashMap();
70              initAttributeRegsiters(source, attributeRegisters);
# Line 185 | Line 187 | public class Paging__Monitor extends MonitorSkeleton {
187      /**
188       * An array of attributes which we will be checking.
189       */
190 <    private String[] _attributes = { "packet.pages.swapins", "packet.pages.swapouts" };
190 >    private String[] _attributes = { "packet.pages.pageins", "packet.pages.pageouts" };
191      
192      /**
193       * An array of "nice names" for the attributes in _attributes.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines