VMS Help  —  SHOW  PROCESS  Examples
    1.$ SHOW PROCESS OCALA::MALIK

       14-DEC-2001 15:35:19.39  User: MALIK   Process ID: 28200364
                                Node: OCALA   Process name: MALIK
      Terminal:        RTA5:
      User identifier: [VMS,MALIK]
      Base  priority:   4
      Default file spec: WORK5:[MALIK]
      Devices allocated: RTA5:

      The SHOW PROCESS command in this example is entered by the
      user MALIK. The system displays the subset of information for
      the owned process on node OCALA. The information includes the
      following:

         Date and time the SHOW PROCESS command is entered
         User name
         Process identification (PID) number
         Node name
         Process name
         Device name of the current SYS$INPUT device
         User identification code (UIC)
         Base execution priority
         Default device (only for processes on the same node)
         Default directory (only for current processes)
         Devices allocated to the process and volumes mounted, if any

    2.$ SHOW PROCESS/ACCOUNTING
       14-DEC-2001 14:48:01.31   User: MALIK  Process ID:   28200364
                                 Node: OCALA  Process name: "MALIK"

       Accounting information:
        Buffered I/O count:      4878  Peak working set size:      844
        Direct I/O count:        1284  Peak virtual size:         1176
        Page faults:             6100  Mounted volumes:              0
        Images activated:          22
        Elapsed CPU time:      0 00:01:20.51
        Connect time:          0 04:06:03.75

      The SHOW PROCESS command in this example displays the
      accounting statistics for the process. The values under Peak
      working set size and Peak virtual size are rendered and in
      pagelets on Alpha.

    3.$ SHOW PROCESS/PRIVILEGES

       14-DEC-2001 14:59:28.53  User: MALIK   Process ID:    28200364
                                Node: OCALA   Process name: "MALIK"

       Process privileges:
        GROUP                may affect other processes in same group
        TMPMBX               may create temporary mailbox
        NETMBX               may create network device

       Process rights identifiers:
        INTERACTIVE
        DIALUP

      The SHOW PROCESS command in this example displays the current
      privileges for the process.

    4.$ SHOW PROCESS/QUOTAS

       14-DEC-2001 15:00:28.79   User: MALIK  Process ID:    28200364
                                 Node: OCALA  Process name:  "MALIK"

       Process Quotas:
       Account name: VMS
        CPU limit:                      Infinite  Direct I/O limit:       6
        Buffered I/O byte count quota:     17904  Buffered I/O limit:     6
        Timer queue entry quota:              10  Open file quota:       31
        Paging file quota:                 24945  Subprocess quota:       8
        Default page fault cluster:           64  AST limit:             14
        Enqueue quota:                        30  Shared file limit:      9
        Max detached processes:               11  Max active jobs:       14

      The SHOW PROCESS command in this example displays the available
      quotas and limits. The value under Paging file quota is
      rendered in pagelets on Alpha.

    5.$ SHOW PROCESS/SUBPROCESSES

       14-DEC-2001 15:44:59.39  User: MALIK  Process ID:   28200364
                                Node: OCALA  Process name: "MALIK_1"

       Processes in this tree:

       MALIK
         MALIK_1 (*)
           MALIK_2

      The SHOW PROCESS command in this example shows the current
      process tree. The current process is indicated by the asterisk
      (*).  Processes both below and above the current process are
      shown.

    6.$ SHOW PROCESS/CONTINUOUS BOB

                                 Process BOB                       12:26:53

          State               CUR              Working set              269

          Cur/base priority   8/4              Virtual memory          1713

          Current PC          7FFEE07E         CPU time         00:00:13.82

          Current PSL         03C00000         Direct I/O               246

          Current user SP     7FF785A4         Buffered I/O             646

          PID                 226006C0         Page faults             3417

          UIC                 [VMS,BOB]        Event flags         C8000007
                                                                   C0000000
          SYS$SYSROOT:[SYSEXE]SHOW.EXE

      In this example, the /CONTINUOUS qualifier causes the display
      of information about process BOB to be updated continuously.
      Note that the Virtual pages heading appears on Alpha indicating
      the virtual memory used as a number of CPU-specific pages.
      The value displayed for Working set is also a number of CPU-
      specific pages.

    7.$ SHOW PROCESS/CONTINUOUS CIMSERVER

                                Process CIMSERVER              07:38:02

          State               LEF                 Working set          2599

          Cur/base priority   9/4                 Virtual pages       15135

          Current PC          8065BDC0            CPU time    0 00:00:14.33

          Current PSL         00000000            Direct I/O          5889

          Current user SP     7ACE6680            Buffered I/O        88641

          PID                 20200822            Page faults         1487

          UIC                 [SYSTEM]            Event flags       C0000001
                                                                    80000000

          $1$DGA02:[SYS0.SYSCOMMON.][WBEM_SERVICES]CIMSERVER.EXE;1

      [Press Q key]

                                   Process CIMSERVER              07:38:18

          State               LEF                 Working set        2599

          PID                 20200822            Page faults        1487

          UIC                 [SYSTEM]            Event flags     C0000001
                                                                  80000000

          # open files remaining               125/128             ( 97%)
          Direct I/O count/limit               100/100             (100%)
          Buffered I/O count/limit              99/100             ( 99%)
          BUFIO byte count/limit            251840/251840          (100%)
          ASTs remaining                        98/100             ( 98%)
          Timer entries remaining               15/16              ( 93%)
          PGFL quota count/limit             42408/43750           ( 96%)
          ENQ quota count/limit               2048/2048            (100%)

          $1$DGA02:[SYS0.SYSCOMMON.][WBEM_SERVICES]CIMSERVER.EXE;1

      In this example, the standard continuous display is interrupted
      when the Q key is pressed. The display then dynamically changes
      to show the quotas in two columns: one column with the actual
      counts and another with percentages.

    8.$ SHOW PROCESS/MEMORY

       14-DEC-2001 14:59:04.48   User: MALIK  Process ID:   28200364
                                 Node: OCALA  Process Name: "MALIK"

       Process Dynamic Memory Area
           Current Size (bytes)    25600   Current Total Size (pages)    50
           Free Space (bytes)      22698   Space in Use (bytes)        2902
           Size of Largest Block   22496   Size of Smallest Block        15
           Number of Free Blocks       7   Free Blocks LEQU 32 Bytes      3

      The SHOW PROCESS command in this example displays the use of
      dynamic memory areas for the current process, MALIK. These
      areas are described as follows:

      Current size       Displays the current size in bytes and
                         pagelets on Alpha of each dynamic memory
                         area.
      Free space         Displays the amount of free space in each
                         dynamic memory area.
      Space in use       Displays the amount of space currently
                         allocated from each area.
      Largest block      Displays the size of the largest contiguous
                         area in each pool area.
      Smallest block     Displays the size of the smallest free block
                         in each pool area.
      Free blocks        Displays the total number of free blocks in
                         each pool area. The size of this number is a
                         measure of pool fragmentation.
      Blocks LEQU 32     Displays the number of free blocks that are
      Blocks LEQU 64     32 bytes or 64 bytes or shorter on Alpha.
      (Alpha)            This number is another measure of pool
                         fragmentation, because while allocation
                         of these small blocks is unlikely, they
                         contribute to the allocation time whenever
                         an allocation request is made.

    9.$ SHOW PROCESS REDSOX::RAMIREZ
       27-OCT-2004 23:40:20.04  User: RAMIREZ   Process ID: 19182004
                                Node: REDSOX    Process name: RAMIREZ
      Terminal:          RTA5:
      User identifier:   [VMS,RAMIREZ]
      Base  priority:    4
      Default file spec: WORK5:[RAMIREZ]
      Devices allocated: RTA5:

      The SHOW PROCESS command in this example displays the basic
      subset of information for the process RAMIREZ on node REDSOX.

    10$ SHOW PROCESS/SHELVING LYONS

      15-JUNE-2001  10:07:25.11   User: LYONS       Process ID:  20206A50
                                  Node: BANANA      Process name: "LYONS"

      Auto-unshelve: on

      The SHOW PROCESS command in this example shows that the LYONS
      process automatically unshelves files.

    11$ SHOW PROCESS/DUMP RALSTON

      31-DEC-2001 10:38:32.48   User: RALSTON       Process ID:   20C0011B
                                Node: AAAAAA        Process name: "_RTA1:"

      Image Dump: on

      The SHOW PROCESS command in this example shows that the image
      dump capability for the RALSTON process is enabled. This causes
      the contents of the address space to be written to the file
      named SYS$LOGIN:(image-name).DMP (where the image name is
      the same as the file name) when an image terminates due to
      an unhandled error.

      See the SET PROCESS/DUMP command for additional information.

    12$ SHOW/SYMLINK

      $17-SEP-2009 05:31:34.92   User: SYSTEM     Process ID:   20A0045C
                                Node: LENOX1     Process name: "SYSTEM"

      Symlink search mode: No wildcard

      This example shows that wildcard is not used for symlink
      search.
Close Help