Skip to content
This repository was archived by the owner on May 3, 2022. It is now read-only.

Commit b644a0c

Browse files
author
Burak Akguel
committed
Added architecture subsection to README
1 parent 0b7974c commit b644a0c

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

README.md

+14-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,20 @@ DXMon uses gradle as its build system and comes with a gradle-wrapper included,
2626
If you just want to see some CPU and memory statistics, you can use the following command to start DXMon with the preimplemented _MonitorTest_ class as classpath ```java -cp dxmon-1.0.0.jar de.hhu.bsinfo.dxmonitor.monitor.MonitorTest```. Nevertheless we recommend implemeting own classes.
2727

2828

29-
# License
29+
## Architecture
30+
31+
DXMon has a modular structure. DXMon can be devided into three types of layers: __states__, __progresses__ and __monitors__.
32+
33+
State classes only manage the read state. The data mainly read periodically from the proc file system. Only the JVM data is read out using the
34+
__J__ava __M__anagement __E__xtentsions.
35+
Progress classes use the state classes to perform calculations periodically over a certain period of time. There is no monitoring logic at this point.
36+
The monitor classes contain the __real__ monitoring. Threshold classes are used to evaluate the collected/calculated data and may call a callback function. A callback function can be called several times.
37+
38+
An illustration is shown below for clarification:
39+
<img src="./img/arch.png" alt="drawing" width="800" height="354" />
40+
41+
42+
## License
3043

3144
Copyright (C) 2018 Heinrich-Heine-Universitaet Duesseldorf,
3245
Institute of Computer Science, Department Operating Systems.

img/arch.png

69.9 KB
Loading

0 commit comments

Comments
 (0)