Firefox OS/Performance/Memory/ADB Tools: Difference between revisions

(Created page with "== b2g-ps == == b2g-info == == /proc/meminfo ==")
 
Line 1: Line 1:
== b2g-ps ==
== b2g-ps ==
The <code>b2g-ps</code> command performs a simple process listing and filter out all non-b2g processes.  While it does not provide too much memory information, it is usable on production devices where <code>root</code> is not available.
The command provides:
* The virtual address space used as <code>VSIZE</code>
* The resident set size as <code>RSS</code>
<code><pre>
bkelly@lenir:/srv/gaia-master$ adb shell b2g-ps
APPLICATION      USER    PID  PPID  VSIZE  RSS    WCHAN    PC        NAME
b2g              root      292  1    183060 76256 ffffffff b6f0563c S /system/b2g/b2g
(Nuwa)          root      815  292  53304  20988 ffffffff b6ea963c S /system/b2g/plugin-container
Homescreen      u0_a958  958  815  72000  27420 ffffffff b6ea963c S /system/b2g/plugin-container
Communications  u0_a1303  1303  815  73388  26864 ffffffff b6ea963c S /system/b2g/plugin-container
Marketplace      u0_a1461  1461  815  89636  39760 ffffffff b6ea963c S /system/b2g/plugin-container
(Preallocated a  u0_a1512  1512  815  60476  18360 ffffffff b6ea963c S /system/b2g/plugin-container
</pre></code>
== b2g-info ==
== b2g-info ==
== /proc/meminfo ==
== /proc/meminfo ==
Confirmed users
47

edits