5

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

jww
  • 97,681
  • 90
  • 411
  • 885
vatsal shah
  • 51
  • 1
  • 2

1 Answers1

6

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.