在Android oreo之前,我可以通过进入 Settings
&gt来查看内存使用情况; Memory
但是由于升级到Android O.现在有没有办法或者它已经完全删除了
在Android oreo之前,我可以通过进入 Settings
&gt来查看内存使用情况; Memory
但是由于升级到Android O.现在有没有办法或者它已经完全删除了
Prior to Android Oreo I could see Memory usage by going to Settings
> Memory
but this does not exist any more since upgrading to Android O. Is there any way to see this now or has it been removed completely?
启用开发人员模式(查看此处),然后转到 System
> Developer options
> Memory
Enable Developer Mode (see here), and go to System
> Developer options
> Memory
由于已接受答案不适用于我的情况(没有"内存" 菜单项)(Android 8.0.0,三星S8),我想分享一个获取内存使用信息的另一种方式。这显示了应用程序的RAM状态和RAM使用情况。
Settings > Developer Options > Running Services
Since accepted answer is not applicable in my situation (there is no "Memory" menu item) (Android 8.0.0, Samsung S8), I want to share another way of getting memory usage info. This shows RAM status and RAM usage by applications.
Settings > Developer Options > Running Services
此答案只会在您是开发人员时适用,并且您将您的开发PC附近。
首先确保已启用 USB调试。
然后在您的电脑上打开一个可以运行 adb
(你不知道这是什么,那个答案不适合你)
然后在该shell运行 adb shell
这将在此shell中打开shell到您的Android设备,您在Android设备上运行命令行应用程序。
现在在此adb shell运行 top -s rss | head -n 20
中。这将打印出由RAM使用量排序的约20个应用程序的列表(-ish,它不是精确的)。 如果您能够在开发人员选项中启用 adb root (再次,如果您不知道这是,那么它不适合您),那么您可以查看更多详细信息:< / p>
在adb shell运行 su
中。这将提升您对内核的访问。
procrank
。 这将显示有关RAM和SWAP使用率的更多信息。 This answer will only apply when you are a developer, and you have your development PC near.
First make sure that you have USB debugging enabled.
Then on your PC open a shell that can run adb
(of you don't know what this is, then this answer is not for you)
Then in that shell run adb shell
This will open a shell to your Android device, within this shell you are running command line applications on your android device.
Now in this adb shell run top -s rss | head -n 20
. This will print out a list of about 20 apps sorted by RAM usage(-ish, its not precise).
If you are able to enable ADB Root in developer options (Again, if you don't know that this is, then it is not for you), then you can see more details:
In the adb shell run su
. This will elevate your access to the kernel.
Then run procrank
. This will show a lot more info about ram and swap usage.
启用开发人员模式android oreo:
设置&gt;系统&gt;关于电话&gt;点击构建号7次
现在在Android 8.0 OREO中启用了开发人员选项。
转到设置&gt;系统&gt;开发人员选项&gt;记忆&gt;应用程序使用的内存
To show memory usage in android Oreo, first of all make sure enable developer mode in android Oreo
Enable developer mode android Oreo:
Settings > System > About phone > Tap build number 7 times
Now enabled developer options in android 8.0 Oreo.
Go to settings > System > Developer options > Memory > Memory used by apps
© 2022 it.wenda123.org All Rights Reserved. 问答之家 版权所有