[Systems] {wiki, activities}.sugarlabs.org dead, no response to HTTP GET

Bernie Innocenti bernie at codewiz.org
Thu Feb 18 02:22:17 EST 2016


On 02/18/2016 02:10 AM, Bernie Innocenti wrote:
> Shall we write a script that dumps the server-status with curl every few
> seconds so we can read the last state next time?

I have it running in a tmux session:

while true; do sleep 10; mv apache-status.old apache-status.older; mv
apache-status apache-status.old;  curl -s
'http://localhost/server-status?auto' >apache-status; done

The files are in /root.

-- 
 _ // Bernie Innocenti
 \X/  http://codewiz.org


More information about the Systems mailing list