What is proc self Cmdline?

What is proc self Cmdline?
Answer
“/proc/<PID>/cmdline” file
Note that most modern Linux kernels are configured to create a directory named “self” in the “/proc” file-system. “self” is an alias for the PID of the currently running process, i.e. a process can easily access “/proc/<PID>/…” by accessing “proc/self/…”.
 

Tìm kiếm

Back
Top