Process control block in Linux

我怕爱的太早我们不能终老 提交于 2021-02-07 18:14:19

问题


How to extract PCB in linux? or Is there any kernel module available to read it?


回答1:


The closest Linux equivalent is the task_struct; however, that's only used inside the kernel. It's not exported to userspace.

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.



来源:https://stackoverflow.com/questions/8162956/process-control-block-in-linux

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!