barneygale / mark2

minecraft server wrapper, written in python with twisted
Other
105 stars 27 forks source link

Show ticks per second in mark2 console #120

Open prophile opened 10 years ago

prophile commented 10 years ago

This dropping below the norm seems to be a pretty good indicator of lag issues, could this end up in the console among the cpu/mem/load stats?

gsand commented 10 years ago

open scripts.txt insert the following line:

     # Runs the tps command every 5 minutes
     */5 * * * * /tps
johnmlang commented 10 years ago

We run this on our vanilla server: */5 * * * * $mark2 send debug start; sleep 10; mark2 send debug stop

It creates many debug logs, but another script takes care of them.