什么是linux命令行来检查内核空间和用户空间使用的内存 [英] What is the linux command line to check kernel space and User space Memory used

查看:709
本文介绍了什么是linux命令行来检查内核空间和用户空间使用的内存的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要找到所使用的内核空间和用户空间内存的RAM使用情况。看到

I need to find the RAM usage of kernel space and user space memory used. On seeing


cat / proc / meminfo

cat /proc/meminfo

我无法找到确切的细节。是否有任何命令行来查找所使用的内核空间和用户空间内存的RAM使用情况。

I couldn't able to find the exact details. Is there any command line to find the RAM usage of kernel space and user space memory used.

推荐答案



Try:

sudo slabtop

sudo cat /proc/slabinfo

这些应该给你足够的信息来估计内核内存消耗总量。

These should give you enough information to estimate the total kernel memory consumption.

您可以阅读更多有关内核和用户空间内存的信息此处

You can read more info about kernel and userspace memory here.

这篇关于什么是linux命令行来检查内核空间和用户空间使用的内存的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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