The embodiment of the invention discloses a
system restarting reason detection method, device and
terminal equipment. The
system restarting reason detection method includes the steps that after an intelligent terminal is restarted, firstly, a
system journal file needs to be obtained, then whether the system journal file contains
process information for ending a system process compulsively or not is found out, when the
process information for ending the system process compulsively is contained, related thread stack data are obtained, and the reason for system
deadlock is obtained according to the thread stack data; when the reason for system
deadlock is
interlocking between threads, the interlocked threads are determined; when the reason for system
deadlock is that the
lock time of the threads exceeds a preset time, the threads with the
lock time exceeding the preset time are determined. Consequently, after the intelligent terminal is restarted, whether restarting is caused by system deadlock or not can be detected rapidly, if restarting is caused by system deadlock, deadlock threads can be determined rapidly, research personnel do not need to analyze system messages one by one, and therefore the speed is high, and the efficiency is high.