adb shell top

Show process activity in real time

adb shell top
Cursor LEFT/RIGHT to change sort, UP/DOWN move list, space to force update, R to reverse sort, Q to exit

Show threads

adb shell top -H

Show FIELDS (def PID,USER,PR,NI,VIRT,RES,SHR,S,%CPU,%MEM,TIME+,CMDLINE)

adb shell top -o %CPU,%MEM,TIME+

Maximum number of tasks to show

adb shell top -m 50