Home Explore Blog CI



man-pages

24th chunk of `top.man`
428a2dafc5a7e958075aa380691abcb06863f7dc969ea3910000000100000ffe
           state of the ‘x’, ‘y’ or ‘b’ toggles.

       CONTENT of task window

          c  :Command‐Line/Program‐Name toggle
              This command will be honored whether or not the COMMAND column is currently visible.  Later, should that field come into view, the change you applied will be seen.

          F  :Maintain‐Parent‐Focus toggle
              When in forest view mode, this key serves as a toggle to retain focus on a target task, presumably one with forked children.  If forest view mode is Off this key has no effect.

              The toggle is applied to the first (topmost) process in the ‘current’ window.  Once established, that task is always displayed as the first (topmost) process along with its forked children.  All other processes
              will be suppressed.

              Note: keys like ‘i’ (idle tasks), ‘n’ (max tasks), ‘v’ (hide children) and User/Other filtering remain accessible and can impact what is displayed.

          f  :Fields‐Management
              This key displays a separate screen where you can change which fields are displayed, their order and also designate the sort field.  For additional information on this interactive command see topic 3b. MANAGING
              Fields.

          O | o  :Other‐Filtering
              You  will  be prompted for the selection criteria which then determines which tasks will be shown in the ‘current’ window.  Your criteria can be made case sensitive or case can be ignored.  And you determine if
              top should include or exclude matching tasks.

              See topic 5e. FILTERING in a window for details on these and additional related interactive commands.

          S  :Cumulative‐Time‐Mode toggle
              When Cumulative mode is On, each process is listed with the cpu time that it and its dead children have used.

              When Off, programs that fork into many separate tasks will appear less demanding.  For programs like ‘init’ or a shell this is appropriate but for others, like compilers, perhaps not.  Experiment with two  task
              windows sharing the same sort field but with different ‘S’ states and see which representation you prefer.

              After  issuing  this  command, you’ll be informed of the new state of this toggle.  If you wish to know in advance whether or not Cumulative mode is in effect, simply ask for help and view the window summary on
              the second line.

          U | u  :Show‐Specific‐User‐Only
              You will be prompted for the uid or name of the user to display.  The -u option matches on  effective user whereas the -U option matches on any user (real, effective, saved, or filesystem).

              Thereafter, in that task window only matching users will be shown, or possibly no processes will be shown.  Prepending an exclamation point (‘!’) to the user id or name instructs top to display  only  processes
              with users not matching the one provided.

              Different task windows can be used to filter different users.  Later, if you wish to monitor all users again in the ‘current’ window, re‐issue this command but just press <Enter> at the prompt.

          V  :Forest‐View‐Mode toggle
              In  this  mode,  processes  are  reordered  according to their parents and the layout of the COMMAND column resembles that of a tree.  In forest view mode it is still possible to toggle between program name and
              command line (see the ‘c’ interactive command) or between processes and threads (see the ‘H’ interactive command).

              Note: Typing any key affecting the sort order will exit forest view mode in the ‘current’ window.  See topic 4c. TASK AREA Commands, SORTING for information on those keys.

          v  :Hide/Show‐Children toggle
              When in forest view mode, this key serves as a toggle to collapse or expand the children of a parent.

              The toggle is applied against the first (topmost) process in

Title: Top Command: Task Area Commands - Content (Continued)
Summary
This section continues detailing the interactive commands available in the task area of the 'top' command. It covers managing fields, filtering tasks based on criteria, toggling cumulative time mode, showing specific users, toggling forest view mode, and hiding/showing children in forest view mode.