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/Memory__Monitor.java
Revision 1.19 - (view) (annotate) - [select for diffs]
Sun Aug 1 10:40:45 2004 UTC (19 years, 9 months ago) by tdb
Branch: MAIN
CVS Tags: HEAD
Changes since 1.18: +3 -3 lines
Diff to previous 1.18
Catch a lot of old URL's and update them. Also remove a couple of old files
that aren't used.

Revision 1.18 - (view) (annotate) - [select for diffs]
Thu Jan 15 14:10:13 2004 UTC (20 years, 3 months ago) by tdb
Branch: MAIN
Changes since 1.17: +3 -3 lines
Diff to previous 1.17
OK - I can still program Java, I just can't remember how this works :-)

Revision 1.17 - (view) (annotate) - [select for diffs]
Thu Jan 15 13:41:48 2004 UTC (20 years, 3 months ago) by tdb
Branch: MAIN
Changes since 1.16: +5 -2 lines
Diff to previous 1.16
Assuming I can still program in Java, these changes allow monitoring to
be disabled at a per-host level or a per-host-per-monitor level.

Revision 1.16 - (view) (annotate) - [select for diffs]
Mon Mar 10 08:59:19 2003 UTC (21 years, 1 month ago) by tdb
Branch: MAIN
Changes since 1.15: +4 -4 lines
Diff to previous 1.15
This brings the Swap monitor up-to-date with the Memory monitor.

Revision 1.15 - (view) (annotate) - [select for diffs]
Mon Mar 10 08:42:57 2003 UTC (21 years, 1 month ago) by tdb
Branch: MAIN
Changes since 1.14: +4 -4 lines
Diff to previous 1.14
Same fixes as applied to disk monitor for precision. Also noticed that the
swap monitor doesn't allow you to do the percentage/value thing that both
memory and disk do - this should be fixed I guess.

Revision 1.14 - (view) (annotate) - [select for diffs]
Sun Mar 9 21:49:13 2003 UTC (21 years, 1 month ago) by tdb
Branch: MAIN
Changes since 1.13: +6 -6 lines
Diff to previous 1.13
Added support for all the new stuff that ihost provides us with. Ideally
this lot needs to be revamped some day, but for now this brings it all back
up to date.

The biggest change is in the Disk monitor. It wasn't overly neat before,
so I've tidied that up, and also added support for inode monitoring.

Created the DiskIO, NetIO, and Paging monitors to support new types of data
we now handle. The first two sprung from the Disk monitor, whilst the last
is pretty normal.

Configuration has been updated to support the new monitors, although I
don't really have a feel for thresholds for the new types of data.

Revision 1.13 - (view) (annotate) - [select for diffs]
Wed Feb 5 16:43:45 2003 UTC (21 years, 3 months ago) by tdb
Branch: MAIN
Changes since 1.12: +4 -4 lines
Diff to previous 1.12
Changed the server to use the external util package. Quite a minor change,
but does affect a lot of files.

Revision 1.12 - (view) (annotate) - [select for diffs]
Tue May 28 17:11:01 2002 UTC (21 years, 11 months ago) by tdb
Branch: MAIN
Changes since 1.11: +38 -9 lines
Diff to previous 1.11
Added support for taking "cache" memory as being free, for the purpose of
generating alerts. This is useful on platforms such as FreeBSD and linux
where the OS holds on to free'd memory as cache.

Revision 1.11 - (view) (annotate) - [select for diffs]
Tue May 21 16:47:16 2002 UTC (21 years, 11 months ago) by tdb
Branch: MAIN
Changes since 1.10: +3 -2 lines
Diff to previous 1.10
Added URL to GPL headers.

Revision 1.10 - (view) (annotate) - [select for diffs]
Sat May 18 18:16:00 2002 UTC (21 years, 11 months ago) by tdb
Branch: MAIN
Changes since 1.9: +22 -3 lines
Diff to previous 1.9
i-scream is now licensed under the GPL. I've added the GPL headers to every
source file, and put a full copy of the license in the appropriate places.
I think I've covered everything. This is going to be a mad commit ;)

Revision 1.9 - (view) (annotate) - [select for diffs]
Mon Nov 26 11:59:19 2001 UTC (22 years, 5 months ago) by tdb
Branch: MAIN
Branch point for: SERVER_PIRCBOT
Changes since 1.8: +39 -18 lines
Diff to previous 1.8
Changed the Memory Monitor to correctly deal with "kb" values.

This parallels the change in the Disk Monitor detailed by this Sourceforge
bug tracker:
  [ #476364 ] disk monitor using 'value' thresholds

Revision 1.8 - (view) (annotate) - [select for diffs]
Tue May 29 17:02:34 2001 UTC (22 years, 11 months ago) by tdb
Branch: MAIN
Changes since 1.7: +9 -9 lines
Diff to previous 1.7
Major change in the java package naming. This has been held off for some time
now, but it really needed doing. The future packaging of all i-scream products
will be;

uk.org.iscream.<product>.<subpart>.*

In the case of the central monitoring system server this will be;

uk.org.iscream.cms.server.*

The whole server has been changed to follow this structure, and tested to a
smallish extent. Further changes in other parts of the CMS will follow.

Revision 1.7 - (view) (annotate) - [select for diffs]
Fri Mar 23 02:32:49 2001 UTC (23 years, 1 month ago) by tdb
Branch: MAIN
CVS Tags: PROJECT_COMPLETION
Changes since 1.6: +34 -6 lines
Diff to previous 1.6
Fully javadoc'd all the monitors. Also made a few little changes here and there,
removing code that had been duplicated by copying other monitors, and tidying
up any silly little things (such has hardcoded integer values).

Revision 1.6 - (view) (annotate) - [select for diffs]
Thu Mar 22 17:57:06 2001 UTC (23 years, 1 month ago) by ajm
Branch: MAIN
Changes since 1.5: +61 -59 lines
Diff to previous 1.5
Modified to use the new style queuing in the local client

Revision 1.5 - (view) (annotate) - [select for diffs]
Sun Mar 18 00:54:04 2001 UTC (23 years, 1 month ago) by ajm
Branch: MAIN
Changes since 1.4: +24 -5 lines
Diff to previous 1.4
added the option:

Monitor.Disk.thresholdMeasure=VALUE/PERCENTAGE
Monitor.Memory.thresholdMeasure=VALUE/PERCENTAGE

to allow the choosing of what is used to measure the crossing of a threshold.

Revision 1.4 - (view) (annotate) - [select for diffs]
Wed Mar 14 23:25:29 2001 UTC (23 years, 1 month ago) by tdb
Branch: MAIN
Changes since 1.3: +9 -9 lines
Diff to previous 1.3
The whole server package structure has been changed.
Old Package: uk.ac.ukc.iscream.*
New Package: uk.org.iscream.*

Revision 1.3 - (view) (annotate) - [select for diffs]
Fri Mar 9 03:30:55 2001 UTC (23 years, 1 month ago) by ajm
Branch: MAIN
Changes since 1.2: +4 -4 lines
Diff to previous 1.2
TOTALLY re-wrote the Register class and made appropriate changes thoughout.  It
is now much more obvious what is going on in many places.

The problem was probably caused by doing CPU as a first monitor and hard coding
the number of attributes a Register stores.  Now if a monitor wants to store
multiple attributes, it has to do that itself.  This makes alot of things
much more readable and inteligable as a result.

Revision 1.2 - (view) (annotate) - [select for diffs]
Wed Mar 7 00:38:05 2001 UTC (23 years, 2 months ago) by tdb
Branch: MAIN
Changes since 1.1: +20 -8 lines
Diff to previous 1.1
Bug Fix: Made the mistake of comparing % of swap *free*, not the % of swap being
*used*. This made the alerts all fire when they shouldn't.
Also noticed that some "Infinity" items appeared, probably due to a divide by
zero whilst working out the percentage. It seems that Double.parseDouble()
wasn't throwing NumberFormatException.. maybe :/
Finally, the numbers were appearing like 95.238172732123, which looks silly. Now
the NumberFormat class is used to set it to two decimal places.

Revision 1.1 - (view) (annotate) - [select for diffs]
Tue Mar 6 23:46:13 2001 UTC (23 years, 2 months ago) by tdb
Branch: MAIN
Two new monitors for Memory and Swap.

Convenience Links

Links to HEAD: (view) (annotate)

Compare Revisions

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.

  Diffs between and
  Type of Diff should be a