UID issue

Jeremy Huntwork jhuntwork at linuxfromscratch.org
Thu Apr 21 10:42:18 PDT 2005


Bruce Dubbs wrote:
> Investiation complete.  The following comment is in the procps source at
> line 1018 of ps/output.c:
> 
> // The Open Group Base Specifications Issue 6 (IEEE Std 1003.1, 2004
> Edition)
> // requires that user and group names print as decimal numbers if there is
> // not enough room in the column, so tough luck if you don't like it.
> //
> // The UNIX and POSIX way to change column width is to rename it:
> //      ps -o pid,user=CumbersomeUserNames -o comm
> // The easy way is to directly specify the desired width:
> //      ps -o pid,user:19,comm
> //
> 
> There are a few ways to handle this:

Very interesting. Thanks for the research Bruce.

--
Jeremy Huntwork



More information about the blfs-dev mailing list