![]() |
![]() HP OpenVMS Systemsask the wizard |
![]() |
The Question is: How could I determine what files the current process has open given only NETMBX and TMPMBX and running on a Alpha ? Is it possible given the limitations below ? There a number of examples for VAX (DISPFILE.ZIP and SHOWFILE.ZIP from DECUS) that allow a priv'ed process to look at this info. for any given process. Within a given .EXE files will have been opened via the "C" rtl, "direct VMS" calls,... etc. For OpenVMS V6.2 & V7.1 Alpha No shared images with privs, etc Prefer only basic privs - NETMBX and TMPMBX, however the process has the following enabled ALTPRI DIAGNOSE GROUP GRPNAM NETMBX OPER PHY_IO PRMMBX PSWAPM SYSNAM TMPMBX VOLPRO The Answer is : The system interfaces and data structures involved are generally protected against unprivileged access. The undocumented and unsupported command SET WATCH/CLASS=ALL FILE -- which also requires CMKRNL or CMEXEC privilege -- is the most common approach. Use the command SET WATCH/CLASS=NONE FILE to turn the (copious) XQP output off. Available SET WATCH /CLASS keywords can include the following: ALL, NONE, MAJOR_FUNCTION, CONTROL_FUNCTION, ATTRIBUTES, DIRECTORY_OPERATIONS, DUMP, QUOTA_OPERATIONS and PROTECTION. Other approaches include the use of the SHOW DEVICE/FILE/NOSYSTEM command.
|