...
System Monitoring can include:
- CPU usage
- CPU Time
- Memory Usage
- Disk Usage
- Maximum CPU Usage
- Maximum Memory UsageSystem Information
Following resource will be helpful for getting CPU load information:
- http://docs.oracle.com/javase/7/docs/api/java/lang/management/ManagementFactory.html
- https://docs.oracle.com/javase/7/docs/jre/api/management/extension/com/sun/management/OperatingSystemMXBean.html
2. Add Application Monitoring Indicators: The application monitoring is introduced to monitor what usage patterns are occurring number of opened charts during a set time period, number of modified charts during a set time period, number of active logins etc.
Application Monitoring can include:-
- Login Number
- Login Session Time
- Opened Charts
- Modified Charts
- Daily Login Statistics
- Encounter Count
- Visit Count
- Observation Count
- Patient Count
- Report Run
- Cohort Count
- Concept Count
- Form Filled
3. Advanced Visualization of Statistics: Ability to drill-down into the graphs for stratified views, such as, which roles/users were logged in, what kind of charts were opened, etc. This can be done using Google Charts API, highcharts library. While we already have the data of CUP Load, Memory Utilization, Members Login, Application data etc. we can frame those data easily on a web page.The Aim is here the chart should have the ablity to :-
- Show maxima and Minima and should highlight it within the chart if possible
- Chart could transformable from small details like Axis Exchange to data Exchange like Maximum CPU usage per hour to Average CPU Usage Per hour
4. Export of Data: CSV file export, as well as, exchange of data into a larger framework for dashboard view across sites. Not only CSV we can also export it to TSV and excel sheets.Procedure already used in this pre-existing OpenMRS module (Developed By Me): -
- Line No. 202: https://github.com/openmrs/openmrs-module-mysqletl/blob/7cafc11b420efd735e5c1147a578a8013852b5f7/omod/src/main/webapp/resources/module_js.js
- Line No. 182 :- https://github.com/openmrs/openmrs-module-mysqletl/blob/master/omod/src/main/java/org/openmrs/module/mysqletl/tools/SSHClient.java
According to My collected data the timeline should look like this:-
...
- CPU Usage - CPU Usage, CPU Time, Maximum Hourly CPU Usage, Average CPU Usage
- Disk Usage
- Memory Usage - Maximum Hourly, Average, Complete Statistics- Schedular Implementation
2. Add Application Monitoring Indicators (by July 15)
- Open Charts
- Modified ChartsFields Count
- Improvement In Login User Indicators
3. Advanced Visualization of Statistics. (by July 30)- Improvement In Charts View
- Adding tabular Data Section
- Complete Statistics option and Possible AnalysisAll Fields Statistics
4. Export of Data (by Aug 3)
5. Testing phase and refine phase (by Aug 10)
6. Documentation and Demo (by Aug 18)
...