How to extract PCB in linux? or Is there any kernel module available to read it?
相关问题
- Is shmid returned by shmget() unique across proces
- how to get running process information in java?
- Error building gcc 4.8.3 from source: libstdc++.so
- Why should we check WIFEXITED after wait in order
- Null-terminated string, opening file for reading
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
. Seeman proc
for details on what's available and where.