KDE System Monitor and the like have easy ways of monitoring how many bits per second are going in and out of your storage at a given time, is there anything similar for memory?
KDE System Monitor and the like have easy ways of monitoring how many bits per second are going in and out of your storage at a given time, is there anything similar for memory?
Depends on two things
Tools like
perf
on Linux can get you access to your processors performance counters and you’ll be able to see how many “events” occur while a process is running.What’s an event? Well they can be configured to monitor all sorts of things in the CPU. Instructions executed, Interrupts, page table misses, and on some loads / stores.
Memory systems on a CPU aren’t straightforward though. They contain multiple levels of cache, each of which reduces the number of accesses which go to the next layer. So depending on which level you measure, you’ll get different numbers.