Line 76:
Line 76:
-- Dump completed on 2015-11-26 23:35:11
-- Dump completed on 2015-11-26 23:35:11
+
Save the above into a file called : apache_memory_usage_show_to_database.sql
+
3. Create the database:
+
#mysqladmin create apache_stats
−
3.Prepare the collection of the relevant parameters that you want to monitor ( in this case, http stats )
+
+
+
+
4.Prepare the collection of the relevant parameters that you want to monitor ( in this case, http stats )
create a shell script: ( apache_memory_usage_show_to_database.sh )
create a shell script: ( apache_memory_usage_show_to_database.sh )
#/usr/bin
#/usr/bin