How do I find the PID process name?

How do I find the PID process name?
Answer
To get the command line for process id 9999, read the file /proc/9999/cmdline . And to get the process name for process id 9999, read the
file /proc/9999/comm.
 

Tìm kiếm

Back
Top