Semaphores        (Overview)

DESCRIPTION
The "Semaphores" value shows the semaphores currently locked for a transaction. 


VALUES
The value represents a hexadecimal bit map. Each bit corresponds to a certain 
semaphore.  The list below maps each bit to its corresponding semaphore. Refer
to the Help on the "Name" datapoint on the Semaphores Screen for descriptions
of each semaphore.

0x10000  KXSEMSTA
0x8000   KXSEMSTQ
0x4000   KXSEMTS
0x2000   KXSEMENQ
0x1000   KXSEMRB
0x800    KXSEMFLR
0x400    KXSEMAL
0x200    KXSEMRCV
0x100    KXSEMBUF
0x80     KXSEMUQ
0x40     KXSEMUA
0x20     KXSEMFCB
0x10     KXSEMBCA
0x8      KXSEMPPT
0x4      KXSEMSHR
0x2      KXSEMEVC
0x1      KXSEMTRC


INTERPRETATION
A semaphore is an operating system gating mechanism that allows multiple 
processes to share a resource in a mutually exclusive manner. A Sun MTP system's
Server processes may use all of the semaphores shown above. 


CONCLUSIONS
The Sun MTPScan Semaphores Screen shows overall statistics on a per semaphore basis,
while the "Semaphores" datapoint shows the semaphores locked for a specific 
Server. Note that the bit for KXSEMBUF actually refers to another semaphore set
consisting of 16 semaphores, one for each buffer. The Semaphores Screen displays
all of these semaphores (33 total), but there are not enough bits in a 32-bit
word to hold all 33. Therefore, when the KXSEMBUF is set, it means that at least
one of the 16 in the subset is set.
