Linux中的过程控制块 [英] Process control block in Linux
本文介绍了Linux中的过程控制块的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何在Linux中提取PCB?还是有可用的内核模块可以读取它?
How to extract PCB in linux? or Is there any kernel module available to read it?
推荐答案
与Linux最接近的等效项是 task_struct
;但是,这仅在内核内部使用.它不会导出到用户空间.
The closest Linux equivalent is the task_struct
; however, that's only used inside the kernel. It's not exported to userspace.
有关Linux上正在运行的进程的所有信息都是通过安装在/proc
上的 procfs
公开的.有关可用内容和可用位置的详细信息,请参见 man proc
.
All information on running processes on Linux is exposed via procfs
, which is mounted at /proc
. See man proc
for details on what's available and where.
这篇关于Linux中的过程控制块的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文