linux process details in /proc

  • all process run in /proc
ls /proc
  • We can see what command is used to run the process
cat /proc/<process_id>/cmdline
  • process std std error log can be found in
cat /proc/<process_id>/fd/1
cat /proc/<process_id>/fd/2

Published by

Leave a Reply

Your email address will not be published. Required fields are marked *