Home Explore Blog CI



man-pages

20th chunk of `top.man`
455fa6649df82c84999fe91c810db11f2d69c7c20718173f0000000100001027
    key      function
                  =        alternate status-line, file or pipeline
                  /        find, equivalent to ‘L’ locate
                  n        find next, equivalent to ‘&’ locate next
                  <Space>  scroll down, equivalent to <PgDn>
                  b        scroll up, equivalent to <PgUp>
                  g        first line, equivalent to <Home>
                  G        last line, equivalent to <End>

          Z  :Change‐Color‐Mapping
              This key will take you to a separate screen where you can change the colors for the ‘current’ window, or for all windows.  For details regarding this interactive command see topic 4d. COLOR Mapping.

         ^G  :Display‐Control‐Groups        (Ctrl key + ‘g’)
         ^K  :Display‐Cmdline               (Ctrl key + ‘k’)
         ^N  :Display‐Environment           (Ctrl key + ‘n’)
         ^P  :Display‐Namesspaces           (Ctrl key + ‘p’)
         ^U  :Display‐Supplementary‐Groups  (Ctrl key + ‘u’)
              Applied  to  the  first process displayed, these commands will show that task’s full (potentially wrapped) information.  Such data will be displayed in a separate window at the bottom of the screen while normal
              top monitoring continues.

              Keying the same ‘Ctrl’ command a second time removes that separate window as does the ‘=’ command.  Keying a different ‘Ctrl’ combination, while one  is  already  active,  immediately  transitions  to  the  new
              information.

              Notable  among  these  provisions is the Ctrl+N (environment) command.  Its output can be extensive and not easily read when line wrapped.  A more readable version can be achieved with an ‘Inspect’ entry in the
              rcfile like the following.

                  pipe ^I Environment ^I cat /proc/%d/environ | tr ’\0’ ’\n’

              See the ‘Y’ interactive command above and topic 6b. ADDING INSPECT Entries for additional information.

              As an alternative to ‘Inspect’, and available to all of these ‘Ctrl’ commands, the tab key can be used to highlight individual elements in the bottom window.

         ^L  :Logged‐Messages  (Ctrl key + ‘l’)
              The 10 most recent messages are displayed in a separate window at the bottom of the screen while normal top monitoring continues.  Keying ‘^L’ a second time removes that window as does the ‘=’ command.  Use the
              tab key to highlight individual messages.

       * ^R  :Renice‐an‐Autogroup  (Ctrl key + ‘r’)
              You will be prompted for a PID and then the value for its autogroup AGNI.

              Entering no PID will be interpreted as the default shown in the prompt (the first task displayed).

              A positive AGNI value will cause processes in that autogroup to lose priority.  Conversely, a negative value causes them to be viewed more favorably by the  kernel.   Ordinary  users  are  not  allowed  to  set
              negative AGNI values.

              If you wish to abort the renice process type <Esc>.

       *  The commands shown with an asterisk (‘*’) are not available in Secure mode, nor will they be shown on the level‐1 help screen.

   4b. SUMMARY AREA Commands
       The summary area interactive commands are always available in both full-screen mode and alternate-display mode.  They affect the beginning lines of your display and will determine the position of messages and prompts.

       These commands always impact just the ‘current’ window/field group.  See topic 5. ALTERNATE-DISPLAY Provisions and the ‘g’ interactive command for insight into ‘current’ windows and field groups.

          C  :Show‐scroll‐coordinates toggle
              Toggle an informational message which is displayed whenever the message line is not otherwise being used.  For additional information see topic 5c. SCROLLING a Window.

          l  :Load‐Average/Uptime toggle
              This is also the line containing the program

Title: Top Command: Navigation, Color Mapping, Displaying Process Details, and Summary Area Commands
Summary
This section details navigation keys within the Inspect feature of 'top', along with interactive commands to change color mappings, display process details like control groups, command lines, environment variables, namespaces, and supplementary groups. It also covers commands to display logged messages and renice an autogroup. Additionally, it describes summary area commands for toggling scroll coordinates and load average/uptime display.