1

When running the command numastat to see the hits, misses, foreign, etc. The counters keep increasing while running some tests.

I could make the difference between two tests to get the statistics for that test, but is there a way to reset them to 0, other than rebooting the machine?

man or --help don't provide info for this apparently.

pf440
  • 21
  • 5

1 Answers1

1

for your purpose (seeing the difference between the tests), you may consider using the following command: watch -n1 --differences=cumulative numastat

see more from here: https://www.systutorials.com/docs/linux/man/8-numastat/

user3044236
  • 241
  • 3
  • 7