procps/ps
Jim Warner a65de0fd73 ps: favor truncation of long names over POSIX/UNIX standard
The UNIX and POSIX standards require that user and
group names be printed as decimal integers when there
is insufficient room.  This has led to a constant
stream of bug reports.

With this commit, long names will be truncated and
displayed with a trailing visual clue.

To avoid truncation. the UNIX and POSIX way to change
column width is to rename the column:
   ps -o pid,user=CumbersomeUserNames -o comm

The easy way is to directly specify the desired width:
   ps -o pid,user:19,comm

Reference:
http://www.freelists.org/post/procps/rhbz737215-ps-does-not-resolve-some-user-names

Signed-off-by: Jim Warner <james.warner@comcast.net>
2012-09-27 22:16:53 +10:00
..
common.h ps: fix compiler warnings 2012-03-03 18:36:29 +11:00
COPYING license: update FSF addresses 2012-03-04 08:04:24 +11:00
display.c ps: fix cpu utilization sorting 2012-04-25 09:34:06 +10:00
global.c docs: clarification to license headers in files 2012-03-03 18:41:11 +11:00
HACKING docs: remove old information from HACKING 2012-01-13 22:42:38 +01:00
help.c SELinux spelling (rhbz#859900) 2012-09-27 21:46:46 +10:00
Makefile.am all: check stdout and stderr status at exit 2012-03-23 15:57:53 +01:00
output.c ps: favor truncation of long names over POSIX/UNIX standard 2012-09-27 22:16:53 +10:00
parser.c SELinux spelling (rhbz#859900) 2012-09-27 21:46:46 +10:00
ps.1 SELinux spelling (rhbz#859900) 2012-09-27 21:46:46 +10:00
regression procps 010114 2002-02-01 22:47:29 +00:00
select.c docs: clarification to license headers in files 2012-03-03 18:41:11 +11:00
sortformat.c docs: clarification to license headers in files 2012-03-03 18:41:11 +11:00
stacktrace.c docs: clarification to license headers in files 2012-03-03 18:41:11 +11:00