Hi all, I'm trying to get some system data, and I'm wondering if there's a tool (system call, something) I can use to get it, or if I'll have to code the data collection into the kernel myself. I want to gather periodic snapshots of shared memory information for all running processes on a Sun SMP workstation running debian 2.4.x. In each snapshot, I want to know, for each running task, how much (%) of that task's virtual address space is shared. In the end, I want to be able to put together some statistic that measures the average "sharedness" of memory pages for some a given process load.
Anyone know of a tool that gathers this sort of information? TIA, Patrick