SHOW$WORKING_S  - SHOW WORKING SET PARAMETERS                    21-AUG-1978 19:26:13   VAX-11 MACRO X0.3-11               Page   0

TABLE OF CONTENTS   



   (2)      44  DECLARATIONS

   (3)      70  SHOW$WORKING_S	- SHOW WORKING SET PARAMETERS

SHOW$WORKING_S  - SHOW WORKING SET PARAMETERS                    21-AUG-1978 19:26:13   VAX-11 MACRO X0.3-11               Page   1

X0101                                                                                                                            (1)



                                     0000     1 	.TITLE	SHOW$WORKING_S - SHOW WORKING SET PARAMETERS

                                     0000     2 	.IDENT	/X0101/

                                     0000     3 

                                     0000     4 ;

                                     0000     5 ; COPYRIGHT (C) 1977

                                     0000     6 ; DIGITAL EQUIPMENT CORPORATION, MAYNARD, MASSACHUSETTS 01754

                                     0000     7 ;

                                     0000     8 ; THIS SOFTWARE IS FURNISHED  UNDER A LICENSE FOR USE ONLY ON A SINGLE

                                     0000     9 ; COMPUTER  SYSTEM AND  MAY BE  COPIED ONLY WITH  THE INCLUSION OF THE

                                     0000    10 ; ABOVE COPYRIGHT NOTICE.  THIS SOFTWARE, OR ANY OTHER COPIES THEREOF,

                                     0000    11 ; MAY NOT BE PROVIDED OR  OTHERWISE MADE AVAILABLE TO ANY OTHER PERSON

                                     0000    12 ; EXCEPT FOR USE ON SUCH SYSTEM AND TO ONE WHO AGREES TO THESE LICENSE

                                     0000    13 ; TERMS.  TITLE TO AND  OWNERSHIP OF THE  SOFTWARE  SHALL AT ALL TIMES

                                     0000    14 ; REMAIN IN DEC.

                                     0000    15 ;

                                     0000    16 ; THE INFORMATION IN THIS SOFTWARE IS SUBJECT TO CHANGE WITHOUT NOTICE

                                     0000    17 ; AND SHOULD  NOT BE CONSTRUED  AS A COMMITMENT  BY DIGITAL  EQUIPMENT

                                     0000    18 ; CORPORATION.

                                     0000    19 ;

                                     0000    20 ; DEC ASSUMES  NO  RESPONSIBILITY  FOR  THE USE OR  RELIABILITY OF ITS

                                     0000    21 ; SOFTWARE ON EQUIPMENT WHICH IS NOT SUPPLIED BY DEC.

                                     0000    22 ;

                                     0000    23 

                                     0000    24 ;++

                                     0000    25 ; FACILITY:	SHOW COMMAND

                                     0000    26 ;

                                     0000    27 ; ABSTRACT:

                                     0000    28 ;

                                     0000    29 ;	THIS IMAGE IMPLEMENTS THE SHOW WORKING SET 

                                     0000    30 ;	 COMMAND OPTION

                                     0000    31 ;

                                     0000    32 ; ENVIRONMENT:

                                     0000    33 ;

                                     0000    34 ;	RUNS IN USER MODE

                                     0000    35 ;

                                     0000    36 ; AUTHOR : BEATRICE U. WALTHER,  CREATION DATE: 10-OCT-1977

                                     0000    37 ;

                                     0000    38 ; MODIFIED BY:

                                     0000    39 ;

                                     0000    40 ;	, : VERSION

                                     0000    41 ; 01	- 

                                     0000    42 ;--

SHOW$WORKING_S  - SHOW WORKING SET PARAMETERS                    21-AUG-1978 19:26:13   VAX-11 MACRO X0.3-11               Page   2

X0101           DECLARATIONS                                                                                                     (2)



                                     0000    44 	.SBTTL	DECLARATIONS

                                     0000    45 ;

                                     0000    46 ; INCLUDE FILES:

                                     0000    47 ;

                                     0000    48 	$PHDDEF				;PROCESS HEADER DEFINITIONS

                                     0000    49 ;

                                     0000    50 ; MACROS:

                                     0000    51 ;

                                     0000    52 ;

                                     0000    53  

                                     0000    54 ;

                                     0000    55 ; EQUATED SYMBOLS:

                                     0000    56 ;

                                     0000    57 ;

                                     0000    58 ; OWN STORAGE:

                                     0000    59 ;

                                 00000000    60 	.PSECT	SHOW$RWDATA	LONG,RD,WRT,NOEXE

                                     0000    61 

                                     0000    62 SHOW_WORK_LIST:

                                     0000    63 WORK_DEFAULT:

                           00000004  0000    64 	.BLKL	1			; SPACE FOR WORKING SET DEFAULT SIZE

                                     0004    65 WORK_QUOTA:

                           00000008  0004    66 	.BLKL	1			; SPACE FOR WORKING SET QUOTA

                                     0008    67 WORK_AUTHORIZE:

                           0000000C  0008    68 	.BLKL	1			; SPACE FOR MAXIMUM AUTHORIZED QUOTA

SHOW$WORKING_S  - SHOW WORKING SET PARAMETERS                    21-AUG-1978 19:26:13   VAX-11 MACRO X0.3-11               Page   3

X0101           SHOW$WORKING_S - SHOW WORKING SET PARAMETERS                                                                     (3)



                                     000C    70 	.SBTTL	SHOW$WORKING_S	- SHOW WORKING SET PARAMETERS

                                     000C    71 ;++

                                     000C    72 ; FUNCTIONAL DESCRIPTION:

                                     000C    73 ;	This routine retrieves the WORKING SET parameters from the current

                                     000C    74 ;	process header, formats and prints them on SYS$OUTPUT:

                                     000C    75 ;

                                     000C    76 ;

                                     000C    77 ; CALLING SEQUENCE:

                                     000C    78 ;

                                     000C    79 ;	CALLS 	SHOW$WORKING_S

                                     000C    80 ;	This routine is called by the CLI as a result of parsing option

                                     000C    81 ;	WORKING_SET of the SHOW command. (i.e , this routine is specified as

                                     000C    82 ;	a true action routine  address in the callback to the CLI in the

                                     000C    83 ;	SHOW option dispatcher.

                                     000C    84 ;

                                     000C    85 ; INPUT PARAMETERS:

                                     000C    86 ;

                                     000C    87 ;	4(AP)=	ADDRESS OF PARAMETER DESCRIPTOR THAT CAUSED THE CALL

                                     000C    88 ;		TO THIS ROUTINE

                                     000C    89 ;	8(AP)=	CLI$A_UTILSERV(AP) = ADDRESS OF CLI UTILITY SERVICE ROUTINE

                                     000C    90 ;

                                     000C    91 ; NOTE:		NO INPUT PARAMETERS ARE USED IN THIS OPTION

                                     000C    92 ;		 AS IT REQUIRES NO QUALIFIERS

                                     000C    93 ;

                                     000C    94 ; IMPLICIT INPUTS:

                                     000C    95 ;

                                     000C    96 ;	NONE

                                     000C    97 ;

                                     000C    98 ; OUTPUT PARAMETERS:

                                     000C    99 ;

                                     000C   100 ;	NONE

                                     000C   101 ;

                                     000C   102 ; IMPLICIT OUTPUTS:

                                     000C   103 ;

                                     000C   104 ;	DISPLAYS THE CURRENT PROCESS'S WORKING SET PARAMETERS ON SYS$OUTPUT:

                                     000C   105 ;

                                     000C   106 ; COMPLETION CODES:

                                     000C   107 ;

                                     000C   108 ;	NONE

                                     000C   109 ;

                                     000C   110 ; SIDE EFFECTS:

                                     000C   111 ;

                                     000C   112 ;	NONE

                                     000C   113 ;

                                     000C   114 ;--

                                     000C   115 

                                 00000000   116 	.PSECT	SHOW$CODE BYTE,RD,NOWRT,EXE

                               000C' 0000   117 	.ENTRY	SHOW$WORKING_S,^M<R2,R3>			; SHOW WORKING SET ROUITNE

            51   00000000'9F     D0  0002   118 	MOVL	@#CTL$GL_PHD,R1				; GET PROCESS HEADER ADDRESS

         08 A1            01     A3  0009   119 	SUBW3	#1,PHD$W_WSLIST(R1),R0			; BIAS TO FORM WORKING SET INDEX

                          50         000D       

         1A A1            50     A3  000E   120 	SUBW3	R0,PHD$W_DFWSCNT(R1),W^WORK_DEFAULT	; GET DEFAULT WORKING SET COUNT

                     0000'CF         0012       

         18 A1            50     A3  0015   121 	SUBW3	R0,PHD$W_WSQUOTA(R1),W^WORK_QUOTA		; GET WORKING SET QUOTA

                     0004'CF         0019       

         0A A1            50     A3  001C   122 	SUBW3	R0,PHD$W_WSAUTH(R1),W^WORK_AUTHORIZE	; GET MAXIMUM AUTHORIZED QUOTA

                     0008'CF         0020       

SHOW$WORKING_S  - SHOW WORKING SET PARAMETERS                    21-AUG-1978 19:26:13   VAX-11 MACRO X0.3-11               Page   4

X0101           SHOW$WORKING_S - SHOW WORKING SET PARAMETERS                                                                     (3)



                 00000000'8F     DD  0023   123 	PUSHL	#SHOW$_WORKSET				; MESSAGE IDENTIFIER

                     0000'CF     DF  0029   124 	PUSHAL	W^SHOW_WORK_LIST				; ARGUMENT LIST FOR $FAO

       0000'CF            02     FB  002D   125 	CALLS 	#2,W^SHOW$PRINT_MSG			; PRINT MESSAGE

       0000'CF   00000000'8F     D0  0032   126 	MOVL	#SS$_NORMAL,W^SHOW$L_STATUS		; store status

                                 04  003B   127 	RET						; RETURN

                                     003C   128 	.END

SHOW$WORKING_S  - SHOW WORKING SET PARAMETERS                    21-AUG-1978 19:26:13   VAX-11 MACRO X0.3-11               Page   5

SYMBOL TABLE                                                                                                                     (3)



BIT...         = 00000020            PHD$V_ASTLVL   = 00000018            

CTL$GL_PHD       ********   X   04   PHD$V_DALCSTX  = 00000001            

GBL...         = 00000000            PHD$V_P0LR     = 00000000            

PHD$B_ASTLVL     000000CF            PHD$V_PFMFLG   = 00000000            

PHD$B_DFPFC      00000038            PHD$V_WSPEAKCHK= 00000002            

PHD$B_PAGFIL     0000001F            PHD$W_ASTLM      00000044            

PHD$B_PGTBPFC    00000039            PHD$W_BAK        00000048            

PHD$C_LENGTH     00000118            PHD$W_DFWSCNT    0000001A            

PHD$C_PHDPAGCTX= 00000008            PHD$W_EMPTPG     000000D8            

PHD$K_LENGTH     00000118            PHD$W_EXTDYNWS   00000076            

PHD$L_BIOCNT     00000054            PHD$W_FILLM      00000060            

PHD$L_CPULIM     00000058            PHD$W_FLAGS      0000003A            

PHD$L_CPUTIM     0000003C            PHD$W_PHVINDEX   00000046            

PHD$L_DIOCNT     00000050            PHD$W_PRCLM      00000042            

PHD$L_ESP        0000007C            PHD$W_PST        00000020            

PHD$L_FREP0VA    00000028            PHD$W_PSTBASMAX  0000004A            

PHD$L_FREP1VA    00000030            PHD$W_PSTFREE    00000026            

PHD$L_FREPTECNT  0000002C            PHD$W_PSTLAST    00000024            

PHD$L_KSP        00000078            PHD$W_PTCNTACT   00000070            

PHD$L_P0BR       000000C8            PHD$W_PTCNTLCK   0000006C            

PHD$L_P0LRASTL   000000CC            PHD$W_PTCNTMAX   00000072            

PHD$L_P1BR       000000D0            PHD$W_PTCNTVAL   0000006E            

PHD$L_P1LR       000000D4            PHD$W_QUANT      00000040            

PHD$L_PAGEFLTS   0000004C            PHD$W_TQLM       00000062            

PHD$L_PAGFIL     0000001C            PHD$W_WSAUTH     0000000A            

PHD$L_PC         000000C0            PHD$W_WSDYN      0000000E            

PHD$L_PCB        00000078            PHD$W_WSFLUID    00000074            

PHD$L_PGFLCNT    00000034            PHD$W_WSLAST     00000012            

PHD$L_PGFLQUOTA  0000005C            PHD$W_WSLIST     00000008            

PHD$L_PSL        000000C4            PHD$W_WSLOCK     0000000C            

PHD$L_PSTBASOFF  00000020            PHD$W_WSLX       0000004A            

PHD$L_PTWSLELCK  00000064            PHD$W_WSNEXT     00000010            

PHD$L_PTWSLEVAL  00000068            PHD$W_WSQUOTA    00000018            

PHD$L_R0         00000088            SHOW$L_STATUS    ********   X   04   

PHD$L_R1         0000008C            SHOW$PRINT_MSG   ********   X   04   

PHD$L_R10        000000B0            SHOW$WORKING_S   00000000 RG    04   

PHD$L_R11        000000B4            SHOW$_WORKSET    ********   X   04   

PHD$L_R12        000000B8            SHOW_WORK_LIST   00000000 R     03   

PHD$L_R13        000000BC            SS$_NORMAL       ********   X   04   

PHD$L_R2         00000090            WORK_AUTHORIZE   00000008 R     03   

PHD$L_R3         00000094            WORK_DEFAULT     00000000 R     03   

PHD$L_R4         00000098            WORK_QUOTA       00000004 R     03   

PHD$L_R5         0000009C            

PHD$L_R6         000000A0            

PHD$L_R7         000000A4            

PHD$L_R8         000000A8            

PHD$L_R9         000000AC            

PHD$L_REFERFLT   00000014            

PHD$L_SSP        00000080            

PHD$L_USP        00000084            

PHD$L_WSL        00000118            

PHD$M_DALCSTX  = 00000002            

PHD$M_PFMFLG   = 00000001            

PHD$M_WSPEAKCHK= 00000004            

PHD$Q_PRIVMSK    00000000            

PHD$S_ASTLVL   = 00000008            

PHD$S_P0LR     = 00000018            

SHOW$WORKING_S  - SHOW WORKING SET PARAMETERS                    21-AUG-1978 19:26:13   VAX-11 MACRO X0.3-11               Page   6

PROGRAM SECTION SYNOPSIS                                                                                                         (3)







PROGRAM SECTION SYNOPSIS



.  ABS  .        00000000      00     NOPIC   USR   CON   ABS   LCL NOSHR NOEXE NORD  NOWRT BYTE  

. BLANK .        00000000      01     NOPIC   USR   CON   REL   LCL NOSHR   EXE   RD    WRT BYTE  

$ABS$            0000011C      02     NOPIC   USR   CON   ABS   LCL NOSHR   EXE   RD    WRT BYTE  

SHOW$RWDATA      0000000C      03     NOPIC   USR   CON   REL   LCL NOSHR NOEXE   RD    WRT LONG  

SHOW$CODE        0000003C      04     NOPIC   USR   CON   REL   LCL NOSHR   EXE   RD  NOWRT BYTE  





THERE WERE NO ERRORS OR WARNINGS.

22322. BYTES LEFT IN FREE MEMORY POOL.

2682. BYTES OF RECLAIMED MEMORY.

OBJ$:SHOWRKSET,LIS$:SHOWRKSET/-SP=EXECML$/ML,LIB$:CLIUTL/ML,SRC$:SHOWRKSET

18 MLB DIR RDS - 250 GETS TO DEFINE 8 MACROS. 9 INTER. FILE WRITES. 

