TACL Reference Manual

UTILS:TACL Commands and Functions
HP NonStop TACL Reference Manual429513-018
8-172
SEMSTAT Program
The following example first displays BINSEM Statistics for Process 1,945, and then
displays the cleared statistics after using -clear_stats option:
SYSTEM STARTUP 49> semstat -pin 945
SEMSTAT utility -- T9050J01 - (01AUG12) - (18JUN12) - (AWT)
(c) Copyright 2011 Hewlett Packard Development Company, L.P.
--- Binary Semaphore Statistics for Process 1,945 ---
Sem ID Acquisitions Tot. Cont. Mult. Cont. Cur. Cont. Max. Cont
---------------------------------------------------------------------------
0 2593 0 0 0 0
1 2593 0 0 0 0
2 2593 0 0 0 0
3 2593 0 0 0 0
4 2593 2538 2535 0 31
$SYSTEM STARTUP 50> semstat /cpu 1/ -pin 945 -clear_stat
SEMSTAT utility -- T9050J01 - (01AUG12) - (18JUN12) - (AWT)
(c) Copyright 2011 Hewlett Packard Development Company, L.P.
Statistics counters are cleared
$SYSTEM STARTUP 51> semstat /cpu 1/ -pin 945
SEMSTAT utility -- T9050J01 - (01AUG12) - (18JUN12) - (AWT)
(c) Copyright 2011 Hewlett Packard Development Company, L.P.
--- Binary Semaphore Statistics for Process 1,945 ---
Sem ID Acquisitions Tot. Cont. Mult. Cont. Cur. Cont. Max. Cont
---------------------------------------------------------------------------
0 0 0 0 0 0
1 0 0 0 0 0
2 0 0 0 0 0
3 0 0 0 0 0
4 0 0 0 0 0