Home Explore Blog CI



man-pages

10th chunk of `top.man`
33ce5e602ef7903e79d063830eab0a0569f4cfd150573ff20000000100000fe3
 It is also known as the Data Resident Set or DRS.  Such memory may not yet be mapped to physical memory (RES) but will always be included in the virtual  memory
           (VIRT) amount.

           See ‘OVERVIEW, Linux Memory Types’ for additional details.

       ELAPSED  --  Elapsed Running Time
           The length of time since a process was started.  Thus, the most recently started task will display the smallest time interval.

           The  value  will  be  expressed  as  ‘HH,MM’ (hours,minutes) but is subject to additional scaling if the interval becomes too great to fit column width.  At that point it will be scaled to ‘DD+HH’ (days+hours) and
           possibly beyond.

       ENVIRON  --  Environment variables
           Display all of the environment variables, if any, as seen by the respective processes.  These variables will be displayed in their raw native order, not the sorted order  you  are  accustomed  to  seeing  with  an
           unqualified ‘set’.

           Note:  The  ENVIRON  field, unlike most columns, is not fixed‐width.  When displayed, it plus any other variable width columns will be allocated all remaining screen width (up to the maximum 512 characters).  Even
           so, such variable width fields could still suffer truncation.  This is especially true for this field.  See topic 5c. SCROLLING a Window for additional information on accessing any truncated data.

       EXE  --  Executable Path
           Where available, this is the full path to the executable, including the program name.

           Note: The EXE field, unlike most columns, is not fixed‐width.  When displayed, it plus any other variable width columns will be allocated all remaining screen width (up to the maximum 512 characters).

       Flags  --  Task Flags
           This column represents the task’s current scheduling flags which are expressed in hexadecimal notation and with zeros suppressed.  These flags are officially documented in <linux/sched.h>.

       GID  --  Group Id
           The effective group ID.

       GROUP  --  Group Name
           The effective group name.

       LOGID  --  Login User Id
           The user ID used at login.  When ‐1 is displayed it means this information is not available.

       LXC  --  Lxc Container Name
           The name of the lxc container within which a task is running.  If a process is not running inside a container, a dash (‘-’) will be shown.

       NI  --  Nice Value
           The nice value of the task.  A negative nice value means higher priority, whereas a positive nice value means lower priority.  Zero in this field simply means priority will not be adjusted in determining a  task’s
           dispatch‐ability.

           Note: This value only affects scheduling priority relative to other processes in the same autogroup.  See the ‘AGID’ and ‘AGNI’ fields for additional information on autogroups.

       NU  --  Last known NUMA node
           A number representing the NUMA node associated with the last used processor (‘P’).  When ‐1 is displayed it means that NUMA information is not available.

           See the ‘2’ and ‘3’ interactive commands for additional NUMA provisions affecting the summary area.

       OOMa  --  Out of Memory Adjustment Factor
           The value, ranging from ‐1000 to +1000, added to the current out of memory score (OOMs) which is then used to determine which task to kill when memory is exhausted.

       OOMs  --  Out of Memory Score
           The value, ranging from 0 to +1000, used to select task(s) to kill when memory is exhausted.  Zero translates to ‘never kill’ whereas 1000 means ‘always kill’.

       P  --  Last used CPU (SMP)
           A  number  representing  the  last used processor.  In a true SMP environment this will likely change frequently since the kernel intentionally uses weak affinity.  Also, the very act of running top may break this
           weak affinity and cause more processes to change CPUs more often

Title: Top Command: Field Descriptions (Continued)
Summary
This section continues the description of process fields in the `top` command, detailing ENVIRON, EXE, Flags, GID, GROUP, LOGID, LXC, NI, NU, OOMa, OOMs, and P. These fields represent environment variables, executable path, task flags, group ID and name, login user ID, LXC container name, nice value, NUMA node, out-of-memory adjustment and score, and last used CPU, respectively. Variable width fields are noted to possibly suffer truncation.