# Run clock dump Source: [https://docs.qualcomm.com/doc/80-88500-3/topic/95_Run_clockdump.html](https://docs.qualcomm.com/doc/80-88500-3/topic/95_Run_clockdump.html) Clock dumps are useful to analyze power and thermal issues. The following script can be run during the use case to get the frequency of all the subsystem. 1. Connect the USB using the following command. adb rootCopy to clipboard adb shellCopy to clipboard sleep 5 && while true; do echo \=\=\=\=\=\=\=\=\=\=\=\=\=\=\=\=\=\=\=; cat /proc/uptime; cat /sys/kernel/debug/clk/enabled_clocks; sleep 20; done > /data/enabled_clks.txt & //Unplug USB when PID is shown. Wait for 10 minutes to collect the log.Copy to clipboard 2. Insert the USB back to the device after 10 min, and stop the PID using the following commands. adb shell "kill [PID]" Copy to clipboard adb pull /data/enabled_clks.txtCopy to clipboard Note: If /sys/kernel/debug/clk/enabled\_clocks is unavailable, then use the path /sys/kernel/debug/clk/clk\_enabled\_list. **Parent Topic:** [Debug user space](https://docs.qualcomm.com/doc/80-88500-3/topic/90_Debug_userspace_.html) Last Published: Sep 26, 2023 [Previous Topic Collect Ftrace](https://docs.qualcomm.com/bundle/publicresource/80-88500-3/topics/94_Collect_Ftrace.md) [Next Topic Debug GPU busy status](https://docs.qualcomm.com/bundle/publicresource/80-88500-3/topics/96_Debug_GPU_busy_status.md)