[][src]Module lpfs::pid

Contains the process sub-directory files within the proc file system.

Each file has its own submodule with the same name.

Tese submodules is re-expored.

Structs

CommP

Represent the content of /proc/[pid]/comm, returned by comm_of().

StatP

Represent the content of /proc/[pid]/stat and /proc/[pid]/task/[tid]/stat. Returned by stat_of().

Functions

comm_of

Return parsed content of /proc/[pid]/ comm .

comm_of_task

Return parsed content of /proc/[pid]/task/[tid]/ comm .

comm_self

Return parsed content of /proc/self/ comm .

comm_self_task

Return parsed content of /proc/self/task/[tid]/ comm .

fd_of
fd_of_task
fd_self
fd_self_task
stat_of

Return parsed content of /proc/[pid]/ stat .

stat_of_task

Return parsed content of /proc/[pid]/task/[tid]/ stat .

stat_self

Return parsed content of /proc/self/ stat .

stat_self_task

Return parsed content of /proc/self/task/[tid]/ stat .

task_of

Return a Vector contains thread id whose contained in specified process.

task_self

Return a Vector contains thread id whose contained in current process.