TACL Reference Manual
UTILS:TACL Commands and Functions
HP NonStop TACL Reference Manual—429513-018
8-169
SEMSTAT Program
SEMSTAT Program
Use the SEMSTAT program to print the Binary Sempahore (BINSEM) usage
information and statistics for a process whose ID or process name is provided.
Syntax to invoke the command:
<name> or <pin>
specifies the process in the CPU where SEMSTAT is running.
-brief or -full or -wide
specifies how much information is displayed and the format used to display the
data.
The -wide option displays information in one line to facilitate further processing.
-clear_stats
resets all BINSEM counters including the maximum number of contenders.
Security Considerations
The SEMSTAT program is accessible to users with appropriate accessibility rights for a
process. The following list describes the accessibility rights for various users:
•
Users with the same process access ID as the process of interest. Both GROUP
and USER IDs must match.
•
Group Managers of the process of interest (that is GROUP,255).
•
Processes that are members of the SUPER group (that is SUPER.*).
SEMSTAT {-procname <name> | -pin <pin> [-brief | -full |
-wide |-clear_stats]}
Note.
•
All the above options are case insensitive.
•
The SEMSTAT program is provided with the operating system and, if run on that
system, works without problems. If the SEMSTAT program is moved to another
system that is running an incompatible version of NSK, SEMSTAT exits with an error
message.