HP OpenVMS Systems

ask the wizard
Content starts here

Processes, devices, and assigned channels?

» close window

The Question is:

Is there a way to determine how many processes are referencing a shared device?
 In particular, can this be done with a BG device? I cannot see how to do this
 with the getdvi service.

The Answer is :

  You can tell how many channels are associated with a device, but
  locating the associated processes requires some digging -- the
  data structures are organized to get from the process to the
  device, and not the reverse.  (Digging would be via SDA or via
  kernel-mode hackery, most commonly.  The most supportable approach
  would be via process-level cooperation, obviously.)

answer written or last revised on ( 24-APR-2001 )

» close window