Default [Q] Require ADB or Linux command for giving information about UI freeze


Actually we are working on one script where we need to capture a scenario like UI freeze or blank screen.
I mean can we get the exact time when UI gets freeze or Black screen occurred by using any adb command or from any signature from the Logcat logs.