!*** MODULE $PSCANDEF *** !DEC$ OPTIONS/ALIGN=(RECORDS=PACKED,COMMONS=PACKED)/NOWARN ! + ! ! Process_Scan item code definitions ! ! - ! Item code definitions PARAMETER pscan$_BEGIN = '00000000'X PARAMETER pscan$_ACCOUNT = '00000001'X ! Match on account name PARAMETER pscan$_AUTHPRI = '00000002'X ! Match on authorized priority PARAMETER pscan$_CURPRIV = '00000003'X ! Match on current privs PARAMETER pscan$_GRP = '00000004'X ! Match on GRP field PARAMETER pscan$_HW_MODEL = '00000005'X ! Match on system's HW_MODEL PARAMETER pscan$_HW_NAME = '00000006'X ! Match on system's HW_NAME PARAMETER pscan$_JOBPRCCNT = '00000007'X ! Match on job subprocess count PARAMETER pscan$_JOBTYPE = '00000008'X ! Match on job origin type field PARAMETER pscan$_MASTER_PID = '00000009'X ! Match on PID of master process PARAMETER pscan$_MEM = '0000000A'X ! Match on MEM field PARAMETER pscan$_MODE = '0000000B'X ! Match on process mode PARAMETER pscan$_NODE_CSID = '0000000C'X ! Match on system's CSID PARAMETER pscan$_NODENAME = '0000000D'X ! Match on system's nodename PARAMETER pscan$_OWNER = '0000000E'X ! Match on PID of owner PARAMETER pscan$_PRCCNT = '0000000F'X ! Match on subprocess count PARAMETER pscan$_PRCNAM = '00000010'X ! Match on process name PARAMETER pscan$_PRI = '00000011'X ! Match on current priority PARAMETER pscan$_PRIB = '00000012'X ! Match on base priority PARAMETER pscan$_STATE = '00000013'X ! Match on process state PARAMETER pscan$_STS = '00000014'X ! Match on process status PARAMETER pscan$_TERMINAL = '00000015'X ! Match on terminal name PARAMETER pscan$_UIC = '00000016'X ! Match on UIC field PARAMETER pscan$_USERNAME = '00000017'X ! Match on username PARAMETER pscan$_GETJPI_BUFFER_SIZE = '00000018'X ! Buffer for blocking PARAMETER pscan$_PSCAN_CONTROL_FLAGS = '00000019'X ! Control Flags PARAMETER pscan$_KT_COUNT = '0000001A'X ! Current count of kernel threads PARAMETER pscan$_MULTITHREAD = '0000001B'X ! Maximum number of kernel threads PARAMETER pscan$_SCHED_CLASS_NAME = '0000001C'X ! Match on name of process' scheduling class PARAMETER pscan$_END = '0000001D'X PARAMETER pscan$k_type = '00000081'X PARAMETER PSCAN$M_THREAD = '00000001'X STRUCTURE /PSCANCTLDEF/ UNION MAP INTEGER*4 %FILL ! Control item flags END MAP MAP PARAMETER PSCAN$S_THREAD = 1 PARAMETER PSCAN$V_THREAD = 0 ! Return information about each thread for multithreade ! Return information about each thread for multithreaded proc BYTE %FILL (1) END MAP END UNION END STRUCTURE ! PSCANCTLDEF PARAMETER pscan$M_OR = '00000001'X PARAMETER pscan$M_BIT_ALL = '00000002'X PARAMETER pscan$M_BIT_ANY = '00000004'X PARAMETER pscan$M_GEQ = '00000008'X PARAMETER pscan$M_GTR = '00000010'X PARAMETER pscan$M_LEQ = '00000020'X PARAMETER pscan$M_LSS = '00000040'X PARAMETER pscan$M_PREFIX_MATCH = '00000080'X PARAMETER pscan$M_WILDCARD = '00000100'X PARAMETER pscan$M_CASE_BLIND = '00000200'X PARAMETER pscan$M_EQL = '00000400'X PARAMETER pscan$M_NEQ = '00000800'X STRUCTURE /item_specific_flags/ PARAMETER pscan$S_OR = 1 PARAMETER pscan$V_OR = 0 ! Logical OR of items PARAMETER pscan$S_BIT_ALL = 1 PARAMETER pscan$V_BIT_ALL = 1 ! All bits set in pattern PARAMETER pscan$S_BIT_ANY = 1 PARAMETER pscan$V_BIT_ANY = 2 ! Any bit set in pattern PARAMETER pscan$S_GEQ = 1 PARAMETER pscan$V_GEQ = 3 PARAMETER pscan$S_GTR = 1 PARAMETER pscan$V_GTR = 4 PARAMETER pscan$S_LEQ = 1 PARAMETER pscan$V_LEQ = 5 PARAMETER pscan$S_LSS = 1 PARAMETER pscan$V_LSS = 6 PARAMETER pscan$S_PREFIX_MATCH = 1 PARAMETER pscan$V_PREFIX_MATCH = 7 ! Match on leading substring PARAMETER pscan$S_WILDCARD = 1 PARAMETER pscan$V_WILDCARD = 8 ! Wildcard pattern PARAMETER pscan$S_CASE_BLIND = 1 PARAMETER pscan$V_CASE_BLIND = 9 ! Ignore case of text strings PARAMETER pscan$S_EQL = 1 PARAMETER pscan$V_EQL = 10 PARAMETER pscan$S_NEQ = 1 PARAMETER pscan$V_NEQ = 11 BYTE %FILL (2) END STRUCTURE ! item_specific_flags !DEC$ END OPTIONS