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.