Ask Your Question

Revision history [back]

click to hide/show revision 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.