Simple java agent monitor