Previous Topic: Permanent LocksNext Topic: QSTART Command


QPCB Command

Use the QPCB command to list currently active processes.

QPcb

Description

The QPCB command lists all active processes and the commands they are executing, generating a single line of output for each process. You can use this command to determine who is using the system before shutting down CA VM:Director with the END command.

Output from the QPCB command takes the following format:

PCB Userid Name PCB# Parent Root VirtCPU RPCWSED Semaphore 036BD000 BOB QPCB 0023 0000 0023 0.000 rp..... 036F8BE0 BOB DRONE 0022 0000 0022 0.000 rpc.... 036BD260 VMX$1001 SERVANT 001B 0000 001B 0.000 rp.w... VMXUSE+04B0 036F8980 VMDIRECT $APPCMON 0015 0000 0015 0.000 rpc.s.. NUCAIE+1564 03763BE0 VMDIRECT AGENT 0012 0000 0012 0.001 rpcw... NUCAIE+0500 036F8720 VMDIRECT SYSTEM 000E 0000 000E 1.041 rpc.s.. NUCWAI+00D2 03763000 VMDIRECT $EDITOR 000D 0000 000D 0.067 r.c.s.. VMXBED+08E2 036F84C0 VMX$0002 SERVANT 000C 0000 000C 0.000 rp.w... VMXUSE+04B0 036F8260 VMX$0001 SERVANT 000A 0000 000A 0.000 rp.w... VMXUSE+04B0 036F8000 VMDIRECT $APPCVM 0007 0000 0007 0.000 rpc.s.. NUCAIC+0480 03763980 VMDIRECT SYSTEM1 0005 0000 0005 0.003 r.c.s.. NUCWAI+00D2 03763720 VMDIRECT CONSOLE 0004 0000 0004 0.000 rpcw... NUCCON+00DA 037634C0 VMDIRECT INTPCB2 0003 0000 0003 0.062 rpc.... 03763260 VMDIRECT INTPCB1 0002 0000 0002 0.255 rpc....

The headings of the previously mentioned output is explained as the following:

PCB

Specifies address of the process control block for the process

Userid

Specifies the Userid that initiated the process

Name

Specifies the name of the process

PCB#

Specifies a hexadecimal identifier for the process. This same identifier appears in any message issued by the process.

Parent

Specifies the address of the PCB for the process's parent process (if there is no parent process, this values is 0000)

Root

Specifies address of the PCB for the processe's root process

VirtCPU

Specifies the virtual CPU time consumed by this process in seconds

R

Specifies root process

P

Specifies high-priority process

C

Specifies initiated from or associated with CA VM:Director service virtual machine console

W

Specifies asleep in NUCWAIT

S

Specifies waiting for an available semphore or resource

E

Specifies exited

D

Specifies been detached

.

Specifies process information is not true

Semaphore

Specifies an internal address of the location in memory where the process is waiting for a semaphore to be posted