Thread (7 messages) flat view 7 messages, 3 authors, 2021-03-04

Re: [PATCH] mm: introduce clear all vm events counters

From: Johannes Weiner <hannes@cmpxchg.org>
Date: 2021-03-01 15:13:01
Also in: linux-fsdevel, linux-mm, lkml

On Mon, Mar 01, 2021 at 04:19:26PM +0530, Pintu Kumar wrote:
At times there is a need to regularly monitor vm counters while we
reproduce some issue, or it could be as simple as gathering some system
statistics when we run some scenario and every time we like to start from
beginning.
The current steps are:
Dump /proc/vmstat
Run some scenario
Dump /proc/vmstat again
Generate some data or graph
reboot and repeat again
You can subtract the first vmstat dump from the second to get the
event delta for the scenario run. That's what I do, and I'd assume
most people are doing. Am I missing something?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help