How to grep a certain value, in a returned table format result, including an adb command
<pre><code>D:\WORK\git\target&gt;adb shell vmstat
procs -----------memory---------- ---swap-- -----io---- -system-- ----cpu----
 r  b   swpd   free   buff  cache   si   so    bi    bo   in   cs us sy id wa
 3  1 131096  78612 130452 1037964   1    2   304   146    1  292  7  7 86  0
</code></pre>

<p>So i have this result when i run the above command. I need to use an adb command that returns me the free memory. Something like this:</p>

<pre><code>adb shell vmstat | grep 'free'
</code></pre>

<p>Of course this does not work. Any ideas ? Thanks</p>