How to reset numastat statistics? (other than rebooting)

1.3k views Asked by At

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.

1

There are 1 answers

0
user3044236 On

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/