Atoptool / atop

System and process monitor for Linux
GNU General Public License v2.0
789 stars 110 forks source link

fix man/atop.1: exited processes CMD may be changed #259

Closed liutingjieni closed 1 year ago

liutingjieni commented 1 year ago

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.