Line 102:
Line 102:
sleep 120
sleep 120
done
done
+
+
This script will insert the values for the http memory used , http process size, number of http processes running and the date+time into the database every 2 minutes
Make the script executable:
Make the script executable:
Line 110:
Line 112:
nohup ./apache_memory_usage_show_to_database.sh &
nohup ./apache_memory_usage_show_to_database.sh &
+
+
6.