Line 24:
Line 24:
current Apache Processes : 23
current Apache Processes : 23
−
2.Prepare the collection of the relevant parameters that you want to monitor ( in this case, http stats )
+
2. Now we must create a database to hold the information -( how you name the database, table and the columns is up to you ), I'll use the following :
+
* Database name : apache_stats
+
+
+
3.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