From: http://marshal.easymorse.com/archives/3943
In Android, ADB shell enters the system. If top is used to view information, it is not intuitive. The format of direct top is messy. Yes:
Top-M 6
View information about the first six processes.
Android provides a better tool, procrank. For example:
# Procrank
Pid vss rss pss uss validation line
101 82080 K 46308 K 24907 K 21760 K system_server
191 42272 K 42268 K 21354 K 18900 K Android. process. acore
1524 39212 K 27972 K 9343 K 8104 K qat. Pad. speeed. View
Among them, VSS (Virtual set size) is virtual memory, and USS (unique set size) can accurately describe the memory usage of processes.
Reference:
Http://elinux.org/Android_Memory_Usage
From: http://marshal.easymorse.com/archives/3943
In Android, ADB shell enters the system. If top is used to view information, it is not intuitive. The format of direct top is messy. Yes:
Top-M 6
View information about the first six processes.
Android provides a better tool, procrank. For example:
# Procrank
Pid vss rss pss uss validation line
101 82080 K 46308 K 24907 K 21760 K system_server
191 42272 K 42268 K 21354 K 18900 K Android. process. acore
1524 39212 K 27972 K 9343 K 8104 K qat. Pad. speeed. View
Among them, VSS (Virtual set size) is virtual memory, and USS (unique set size) can accurately describe the memory usage of processes.
Reference:
Http://elinux.org/Android_Memory_Usage