Create some threads in the process and change the thread name. The main process exited but the thread is running. At this time, we can't get the exit information of the process by "/" to find the process name.
The reason for this is that since Linux 2.6.10, a single accounting record is written for the entire process on termination of the last thread in the process. When the main thread exits, the process name is changed to the thread name. So I think we can annotate CMD in the manual.
Create some threads in the process and change the thread name. The main process exited but the thread is running. At this time, we can't get the exit information of the process by "/" to find the process name.
The reason for this is that since Linux 2.6.10, a single accounting record is written for the entire process on termination of the last thread in the process. When the main thread exits, the process name is changed to the thread name. So I think we can annotate CMD in the manual.
Hope to get your reply.