top is a command to monitor usage of cpu, memory and swap each system process
Usage: top [ -m max_procs ] [ -n iterations ] [ -d delay ] [ -s sort_column ] [ -t ] [ -h ]
-m num Maximum number of processes to display.
-n num Updates to show before exiting.
-d num Seconds to wait between updates.
-s col Column to sort by (cpu,vss,rss,thr).
-t Show threads instead of processes.
-h Display this help screen.
*** THE START OF EXAMPLE ***
tnkim@tnkim-N53SV:~$ adb shell top -m 10
User 2%, System 2%, IOW 0%, IRQ 0%
User 17 + Nice 0 + Sys 16 + Idle 571 + IOW 1 + IRQ 0 + SIRQ 0 = 605
PID PR CPU% S #THR VSS RSS PCY UID Name
8057 1 2% R 1 988K 392K fg shell top
1275 0 0% S 65 352552K 45472K fg system system_server
306 0 0% S 1 0K 0K fg root spi1
1643 1 0% S 17 290620K 34152K bg app_31 tw.dmb.service
5971 0 0% S 1 0K 0K fg root kworker/0:2
1833 1 0% S 9 276952K 28092K bg app_30 com.thinkware.timesignal
2026 0 0% S 5 4476K 220K fg shell /sbin/adbd
1527 0 0% S 25 307048K 44920K fg app_20 com.thinkware.dixon.nip
1179 1 0% S 16 44680K 5408K fg system /system/bin/surfaceflinger
1813 1 0% S 14 282368K 28656K bg app_28 tw.cardiaryplus.deamon
User 4%, System 3%, IOW 0%, IRQ 0%
User 26 + Nice 0 + Sys 21 + Idle 570 + IOW 0 + IRQ 0 + SIRQ 0 = 617
PID PR CPU% S #THR VSS RSS PCY UID Name
8057 1 2% R 1 992K 404K fg shell top
1275 0 1% S 65 352552K 45472K fg system system_server
306 0 0% D 1 0K 0K fg root spi1
1333 1 0% S 18 306988K 40020K fg system com.android.systemui
1643 0 0% S 17 290620K 34152K bg app_31 tw.dmb.service
802 0 0% S 1 0K 0K fg root tpeg_thread
5971 0 0% S 1 0K 0K fg root kworker/0:2
1527 0 0% S 25 307048K 44920K fg app_20 com.thinkware.dixon.nip
2026 0 0% S 5 4476K 220K fg shell /sbin/adbd
1179 1 0% S 16 44680K 5408K fg system /system/bin/surfaceflinger
...
*** THE END OF EXAMPLE ***
*** THE END OF EXAMPLE ***

댓글 없음:
댓글 쓰기