split monitor to server and client mode #98