VMS Help
Lexicals, F$GETJPI
*Conan The Librarian (sorry for the slow response - running on an old VAX)
|
|
Returns information about the specified process.
Requires GROUP privilege to obtain information on other processes
in the same group. Requires WORLD privilege to obtain information
on any other processes in the system.
Format
F$GETJPI(pid,item)
Either an integer or a character string, depending on the item
you request.
pid
Specifies the process identification (PID) number of the process
for which information is being reported. Specify the pid argument
as a character string expression. You can omit the leading zeros.
If you specify a null string (""), the current PID number is
used.
You cannot use an asterisk (*) or percent sign (%) wildcard
character to specify the pid argument in the F$GETJPI function,
as you can with the $GETJPI system service. To get a list of
process identification numbers, use the F$PID function.
item
Indicates the type of process information to be returned. Specify
the item argument as a character string expression. You can
specify any one of the following items:
ACCOUNT APTCNT ASTACT ASTCNT
ASTEN ASTLM AUTHPRI AUTHPRIV
BIOCNT BIOLM BUFIO BYTCNT
BYTLM CLINAME CPULIM CPUTIM
CREPRC_FLAGS CURPRIV DFPFC DFWSCNT
DIOCNT DIOLM DIRIO EFCS
EFCU EFWM ENQCNT ENQLM
EXCVEC FAST_VP_SWITCH FILCNT FILLM
FINALEXC FREP0VA FREP1VA FREPTECNT
GPGCNT GRP HOME_RAD IMAGECOUNT
IMAGNAME IMAGPRIV JOBPRCCNT JOBTYPE
LAST_LOGIN_I LAST_LOGIN_N LOGIN_FAILURES LOGIN_FLAGS
LOGINTIM MASTER_PID MAXDETACH MAXJOBS
MEM MODE MSGMASK MULTITHREAD
NODENAME NODE_CSID NODE_VERSION OWNER
PAGEFLTS PAGFILCNT PAGFILLOC PARSE_STYLE_PERM
PARSE_STYLE_IMAGE PGFLQUOTA PHDFLAGS PID
PPGCNT PRCCNT PRCLM PRCNAM
PRI PRIB PROC_INDEX PROCESS_RIGHTS
PROCPRIV RIGHTSLIST RIGHTS_SIZE SHRFILLM
SITESPEC SLOW_VP_SWITCH STATE STS
SWPFILLOC SYSTEM_RIGHTS TABLENAME TERMINAL
TMBU TQCNT TQLM TT_ACCPORNAM
TT_PHYDEVNAM UAF_FLAGS UIC USERNAME
VIRTPEAK VOLUMES VP_CONSUMER VP_CPUTIM
WSAUTH WSAUTHEXT WSEXTENT WSPEAK
WSQUOTA WSSIZE
$ NAME = F$GETJPI("3B0018","USERNAME")
$ SHOW SYMBOL NAME
NAME = "JANE "
This example shows how to use the F$GETJPI function to return
the user name for the process number 3B0018. The user name is
assigned to the symbol NAME.
[legal]
[privacy]
[GNU]
[policy]
[netiquette]
[sponsors]
[FAQ]
Polarhome, production since 1999.
Member of Polarhome portal.