如何查找或计算Linux进程的页表大小和其他内核核算? [英] How to find or calculate a Linux process's page table size and other kernel accounting?

查看:614
本文介绍了如何查找或计算Linux进程的页表大小和其他内核核算?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我如何找出Linux进程的页表有多大,以及其他任何可变大小的进程统计信息?

How can I find out how big a Linux process's page table is, along with any other variable-size process accounting?

推荐答案

从Linux 2.6.10开始,单个进程的页表使用的内存量已通过/proc/<pid>/status的VmPTE字段公开.

Since Linux 2.6.10, the amount of memory used by a single process' page tables has been exposed via the VmPTE field of /proc/<pid>/status.

这篇关于如何查找或计算Linux进程的页表大小和其他内核核算?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆