Before version 1.7.2 I was able to check if the server was running by using a shellscript that checked if
server.log.lck was in the Minecraft server directory. I am running multiple servers via screens, so I want to be sure that the server is not running before I start it.
Because 1.7.2 introduced a new logging system, this is not possible anymore.
I use a shell script where I have an unique port and an unique screen name for each server.
How can I now determine if the server is running?