Search code examples
memory-managementlinux-kernelkernelfile-mapping

How do I know the page cache size of a linux process


Now that I can know the overall cached pages of the system by /proc/meminfo, can I further know for a specific process how many page caches does it consume? My first thought is to add up all the RSSes in smaps of a process. Any more suggestions? Thanks.


Solution

  • @Bill Randerson, Maybe you can try the below command, will get some information regarding Vm, signals and so on ... regarding a particular process.

    cat /proc/<process_pid>/status