Virtual memory stats...thrashing

Hi All,

Is there any command or tool to find out thrashing on linux/solaris OS??

Please let know if there are any such tools/commands.

Thanks in advance
Prasad
Last edited on
Did you try top?
You can look at your process' VmSize and VmRSS in /proc/<pid>/status.
You can also look at the number of page faults occuring in your process
(this is one of the values in /proc/<pid>/stat, but I don't remember which
one OTOMH). Your process will incur a minor fault when something else
causes one of its pages to be swapped out and a major fault when the
process needs to swap it back it).

Topic archived. No new replies allowed.