easier to see command across multiline
weird bug where the mon process pid is actually 1 more than the recorded one in the file