{"action":"created","issue":{"url":"https://api.github.com/repos/cmtonkinson/symphony-mud/issues/1","labels_url":"https://api.github.com/repos/cmtonkinson/symphony-mud/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/cmtonkinson/symphony-mud/issues/1/comments","events_url":"https://api.github.com/repos/cmtonkinson/symphony-mud/issues/1/events","html_url":"https://github.com/cmtonkinson/symphony-mud/issues/1","id":64808242,"number":1,"title":"Demo server.","user":{"login":"cmtonkinson","id":281467,"avatar_url":"https://avatars.githubusercontent.com/u/281467?v=3","gravatar_id":"","url":"https://api.github.com/users/cmtonkinson","html_url":"https://github.com/cmtonkinson","followers_url":"https://api.github.com/users/cmtonkinson/followers","following_url":"https://api.github.com/users/cmtonkinson/following{/other_user}","gists_url":"https://api.github.com/users/cmtonkinson/gists{/gist_id}","starred_url":"https://api.github.com/users/cmtonkinson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmtonkinson/subscriptions","organizations_url":"https://api.github.com/users/cmtonkinson/orgs","repos_url":"https://api.github.com/users/cmtonkinson/repos","events_url":"https://api.github.com/users/cmtonkinson/events{/privacy}","received_events_url":"https://api.github.com/users/cmtonkinson/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-27T17:11:01Z","updated_at":"2015-03-27T17:40:39Z","closed_at":null,"body":"Should spin up a demo server - probably on a DO Droplet"},"comment":{"url":"https://api.github.com/repos/cmtonkinson/symphony-mud/issues/comments/87027473","html_url":"https://github.com/cmtonkinson/symphony-mud/issues/1#issuecomment-87027473","issue_url":"https://api.github.com/repos/cmtonkinson/symphony-mud/issues/1","id":87027473,"user":{"login":"cmtonkinson","id":281467,"avatar_url":"https://avatars.githubusercontent.com/u/281467?v=3","gravatar_id":"","url":"https://api.github.com/users/cmtonkinson","html_url":"https://github.com/cmtonkinson","followers_url":"https://api.github.com/users/cmtonkinson/followers","following_url":"https://api.github.com/users/cmtonkinson/following{/other_user}","gists_url":"https://api.github.com/users/cmtonkinson/gists{/gist_id}","starred_url":"https://api.github.com/users/cmtonkinson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmtonkinson/subscriptions","organizations_url":"https://api.github.com/users/cmtonkinson/orgs","repos_url":"https://api.github.com/users/cmtonkinson/repos","events_url":"https://api.github.com/users/cmtonkinson/events{/privacy}","received_events_url":"https://api.github.com/users/cmtonkinson/received_events","type":"User","site_admin":false},"created_at":"2015-03-27T17:40:39Z","updated_at":"2015-03-27T17:40:39Z","body":"Found this in my hard drive graveyard; it'll need to be updated but it's a good starting point\r\n\r\n```bash\r\nwhile [ 1 ]; do\r\n  # Run Symphony and log all output...\r\n    ./symphony >>out.log 2>&1\r\n  # Get a timestamp...\r\n    DATE=`date +%Y-%m-%d-%H-%M-%S`\r\n    CORE_DIR=\"cores/$DATE\"\r\n    PROF_DIR=\"profiling\"\r\n  # Save the core file & executable...\r\n    if [ -f core.* ]; then\r\n      mkdir -p $CORE_DIR\r\n      mv core.* \"$CORE_DIR/core\"\r\n      cp ./symphony \"$CORE_DIR/symphony\"\r\n    fi\r\n  # If there's a gmon.out, stare the profiler data...\r\n    if [ -f gmon.out ]; then\r\n      mkdir -p $PROF_DIR\r\n      gprof ./symphony > \"$PROF_DIR/profile-$DATE.txt\"\r\n    fi\r\n  # Take a breather...\r\n    sleep 1s\r\ndone\r\n\r\n```"}}