How to view information about the process using the proc file system, knowing the process id?

  • And what is the actual question, what specific information? Actually, where to look for it, you yourself already answered in the folder / proc / pid-process. It remains to select the necessary data from the necessary files in this directory - Mike

1 answer 1

almost half of the answer you wrote in the question.

Yes, you can view the contents of various files in the /proc/идентификатор-процесса directory.

the meaning of files / directories and their contents is explained, for example, in man 5 proc , or in the linux documentation: Documentation / filesystems / proc.txt