Bug 429565
| Summary: | ps "comm" output does not work as advertised | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Stepan Kasal <kasal> |
| Component: | procps | Assignee: | Tomas Smetana <tsmetana> |
| Status: | CLOSED CANTFIX | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | low | Docs Contact: | |
| Priority: | medium | ||
| Version: | rawhide | CC: | oliver.henshaw |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2008-01-30 08:20:29 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Stepan Kasal
2008-01-21 17:41:32 UTC
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. |