Home Explore Blog CI



man-pages

9th chunk of `top.man`
4159a744381a151e9bffa5959df9f304a6341567f56ce2fb0000000100000fd2
 value which affects scheduling of all processes in that group.  A negative nice value means higher priority, whereas a positive nice value means lower priority.

       CGNAME  --  Control Group Name
           The name of the control group to which a process belongs, or ‘-’ if not applicable for that process.

           This will typically be the last entry in the full list of control groups as shown under the next heading (CGROUPS).  And as is true there, this field is also variable width.

       CGROUPS  --  Control Groups
           The names of the control group(s) to which a process belongs, or ‘-’ if not applicable for that process.

           Control Groups provide for allocating resources (cpu, memory, network bandwidth, etc.) among installation‐defined groups of processes.  They enable fine‐grained  control  over  allocating,  denying,  prioritizing,
           managing and monitoring those resources.

           Many different hierarchies of cgroups can exist simultaneously on a system and each hierarchy is attached to one or more subsystems.  A subsystem represents a single resource.

           Note:  The  CGROUPS  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.  See topic 5c. SCROLLING a Window for additional information on accessing any truncated data.

       CODE  --  Code Size (KiB)
           The amount of physical memory currently devoted to executable code, also known as the Text Resident Set size or TRS.

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

       COMMAND  --  Command Name or Command Line
           Display the command line used to start a task or the name of the associated program.  You toggle between command line and name with ‘c’, which is both a command-line option and an interactive command.

           When you’ve chosen to display command lines, processes without a command line (like kernel threads) will be shown with only the program name in brackets, as in this example:
               [kthreadd]

           This field may also be impacted by the forest view display mode.  See the ‘V’ interactive command for additional information regarding that mode.

           Note: The COMMAND 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 when command lines are being displayed (the ‘c’ interactive command.)  See topic 5c. SCROLLING a Window for
           additional information on accessing any truncated data.

       DATA  --  Data + Stack Size (KiB)
           The amount of private memory reserved by a process.  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’.

          

Title: Top Command: Field Descriptions (Continued)
Summary
This section describes additional process fields (columns) in the `top` command, including CGNAME, CGROUPS, CODE, COMMAND, DATA, ELAPSED, and ENVIRON. It details their meaning, how they are calculated, and how they relate to control groups, memory usage, running time, and environment variables. It also notes fields that are variable width and may be truncated.