Ask Your Question
3

What is the method for obtaining the ID of a process that was run using setsid?

asked 2022-07-16 11:00:00 +0000

woof gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2022-09-09 23:00:00 +0000

plato gravatar image

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.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2022-07-16 11:00:00 +0000

Seen: 11 times

Last updated: Sep 09 '22