Line 102:
Line 102:
sleep 120
sleep 120
done
done
+
+
Make the script executable:
+
chmod 755 apache_memory_usage_show_to_database.sh
+
+
+
5. Create a method to run the script above - ( there are better ways to do this , but I've just used the following for now ):
+
+
nohup ./apache_memory_usage_show_to_database.sh &