Description of problem: The "comm" field (real executable name) is always truncated to 15 chars, though the man page says it ends at column 80. Moreover, neither of the two documented ways to widen it works (option "w" nor setting COLUMNS). Version-Release number: procps-3.2.7-19.1.fc9 Always reproducible: "ps axo comm", "ps axwwo comm", "COLUMNS=120 ps axo comm" The output is truncated to 15 columns, in all cases, while it should not be.
You're right. I'll take a look at it.
The "comm" field is taken from /proc/<num>/stat and it's truncated even there. I'm really not sure whether the real executable name can be retrieved somewhere else in general.
I don't think the real executable's name is written somewhere in untruncated form. If you don't think so, reopen.
Noticed this bug while researching bug #744406. It seems that the length of comm is limited to TASK_COMM_LEN, this is set to 16 by the kernel. /proc/<num>/command seems to contain the full path to the command with all arguments.