This is default configuration, which should be as neutral as possible.
Change-Id: Ie9b3d8f1780c4674885ff2bb49e7b9867dd96ab2
--- /dev/null
+{
+ "global":{
+ },
+
+
+ "foreground_native_app":{
+ },
+
+ "background_native_app":{
+ },
+
+
+ "foreground_web_app":{
+ },
+
+ "background_web_app":{
+ },
+
+
+ "foreground_csharp_app":{
+ },
+
+ "background_csharp_app":{
+ },
+
+
+ "foreground_ui_widget":{
+ },
+
+ "background_ui_widget":{
+ },
+
+
+ "native_service":{
+ },
+
+ "other_service":{
+ },
+}
+++ /dev/null
-{
- "global":{
- "report": 1,
- },
-
-
- "foreground_native_app":{
- "cpu_limit_avg": 0.6,
- },
-
- "background_native_app":{
- "cpu_limit_avg": 0.5,
- },
-
-
- "foreground_web_app":{
- },
-
- "background_web_app":{
- },
-
-
- "foreground_csharp_app":{
- },
-
- "background_csharp_app":{
- },
-
-
- "foreground_ui_widget":{
- },
-
- "background_ui_widget":{
- },
-
-
- "native_service":{
- },
-
- "other_service":{
- "cpu_limit_avg": 0.7,
- },
-
- "com.samsung.voice-trigger":{
- "monitor": 0,
- },
-
- "voice-trigger":{
- "monitor": 0,
- },
-}
"report": 0,
"sampling_rate": 1,
- "cpu_limit_avg": 0.5,
+ "cpu_limit_avg": 4,
"cpu_avg_period": 10,
- "cpu_limit_peak": 0.95,
+ "cpu_limit_peak": 4,
- "mem_limit_avg": 0.3,
+ "mem_limit_avg": 1,
"mem_avg_period": 10,
- "mem_limit_peak": 0.3,
+ "mem_limit_peak": 1,
- "io_limit_avg": 30.0,
+ "io_limit_avg": 100.0,
"io_avg_period": 10,
- "io_limit_peak": 60.0,
+ "io_limit_peak": 100.0,
- "fd_limit": 300,
+ "fd_limit": 1000,
},
"stability-monitor":{
%install
make install INSTALL_PREFIX=%{buildroot}/%{_sbindir}
install -D config/default.conf %{buildroot}/%{_libdir}/stability-monitor/default.conf
-install -D config/10-example.conf %{buildroot}/%{_sysconfdir}/stability-monitor.d/10-example.conf
+install -D config/10-example-noop.conf %{buildroot}/%{_sysconfdir}/stability-monitor.d/10-example-noop.conf
install -D config/stability-monitor.service %{buildroot}/%{_unitdir}/stability-monitor.service
mkdir -p %{buildroot}/%{_unitdir}/multi-user.target.wants
%license COPYING
%{_sbindir}/stability-monitor
%{_libdir}/stability-monitor/default.conf
-%{_sysconfdir}/stability-monitor.d/10-example.conf
+%{_sysconfdir}/stability-monitor.d/10-example-noop.conf
%{_unitdir}/stability-monitor.service
%{_unitdir}/multi-user.target.wants/stability-monitor.service