On Mon, Aug 18, 2014 at 12:46 PM, Howard White <[email protected]> wrote:
> Could somebody confirm a behavior I think I am observing. I am not a C > programmer nor is my name Luke (as in "use the source, Luke"). At more > than one customer site, we notice processes listed by UID (i.e. 546, 550, > 582) instead of user name (i.e. tom, dick or harry). Come to observe those > processes that print UID have user names > 8 characters. My quick read of > the man page did not reveal a formatting option that would force longer > user names to print. Did I miss that paragraph? > You're right about the name being too long. There's a blurb tucked at the bottom of the *Notes* section on the man page... *Notes* > This *ps* works by reading the virtual files in /proc. This *ps* does not > need to be setuid kmem or have any privileges to run. Do not give this > *ps* any special permissions. This *ps* needs access to namelist data for proper WCHAN display. For > kernels prior to 2.6, the System.map file must be installed. > CPU usage is currently expressed as the percentage of time spent running > during the entire lifetime of a process. This is not ideal, and it does not > conform to the standards that*ps* otherwise conforms to. CPU usage is > unlikely to add up to exactly 100%. > The SIZE and RSS fields don't count some parts of a process including the > page tables, kernel stack, struct thread_info, and struct task_struct. This > is usually at least 20 KiB of memory that is always resident. SIZE is the > virtual size of the process (code+data+stack). > Processes marked <defunct> are dead processes (so-called "zombies") that > remain because their parent has not destroyed them properly. These > processes will be destroyed by*init <http://linux.die.net/man/8/init>*(8) > if the parent process exits. > *If the length of the username is greater than the length of the display > column, the numeric user ID is displayed instead.* -- Robert Wohlfarth -- -- You received this message because you are subscribed to the Google Groups "NLUG" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nlug-talk?hl=en --- You received this message because you are subscribed to the Google Groups "NLUG" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
