TACL Reference Manual

UTILS:TACL Commands and Functions
HP NonStop TACL Reference Manual429513-018
8-170
SEMSTAT Program
Examples
The SEMSTAT program prints BINSEM statistics for each BINSEM used by the
specified process. The statistics are printed in a tabular format and are categorized as
the following heading rows:
Samples
1.Brief Format:
semstat /cpu 1/ -pin 843
SEMSTAT utility -- T9050J01 - (01AUG12) - (18JUN12) - (AWT)
(c) Copyright 2011 Hewlett Packard Development Company, L.P.
--- Binary Semaphore Statistics for Process 1,843 ---
Sem ID Acquisitions Tot. Cont. Mult. Cont. Cur. Cont. Max. Cont
---------------------------------------------------------------------------
0 8225 3 0 0 1
1 8225 0 0 0 0
2 8225 7851 7833 0 30
3 8225 0 0 0 0
4 8225 0 0 0 0
Sem ID The BINSEM ID in this process.
Acquisitions The number of times the BINSEM is acquired.
Tot. Cont. The number of times the BINSEM is found locked.
Mult.Cont. The number of times the BINSEM is found locked and
contended.
Cur. Cont. The number of processes waiting for the BINSEM.
Max. Cont. The maximum number of contenders for a BINSEM.
Create Date The date when the BINSEM is created.
Create Time The time when the BINSEM is created.
Serial Number The serial number of creation (since CPU load) which uniquely
identifies the same semaphore shared by multiple processes.
Timeouts The number of times a timeout occurrs when a process tries to
acquire a BINSEM.
Forced The number of times a process stole the BINSEM from an
unresponsive process.
Forsaken The number of times a process abandoned ownership of a
BINSEM.