Re: ps -p comm and zombies

Jim Warner <[email protected]> Mon, 12 Dec 2022 03:43:11 -0600
Newsgroups gmane.linux.procps.devel
Message-ID <[email protected]>
On 12/9/22 11:34 AM, Jim Warner wrote:
> You can decide if restoring such functionality is worth duplicating yet 
> more library code in ps/output.c.
> 
> If you decide against that approach, we should at least change the ps.1 
> 'comm' description.

Hi Craig,

I just noticed the 'comm' change to ps.1 and began to question that 
document's long standing claim:

     "Modifications to the command name  will not be shown"

So I tried changing top's name with both prctl() and pthread_setname_np().

It turns out that both the old and new ps programs show such a name 
change.  So, we should probably remove that claim.

Regards,

Jim