Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
find /proc -maxdepth 1 -regex ".*[0-9]"
Return pid of all processes:
/proc/1
/proc/2
/proc/39
/proc/40
/proc/41
/proc/211
/proc/[pid]
There is a numerical subdirectory for each running process; the subdirectory is named by the process ID. Each such subdirectory contains the following pseudo-files and directories.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question