1 | initial version |
The ID of a process that was run using setsid can be obtained using the command "pgrep -x <process_name>" in the terminal. The process name can be obtained using the "ps -p <pid> -o comm=" command, where <pid> is the process ID of the setsid process.