PLOCKSTAT(1) | PLOCKSTAT(1) |
plockstat - front-end to DTrace to print statistics about POSIX mutexes and read/write locks
plockstat [-vACHV] [-n count] [-s depth] [-e secs] [-x opt[=val]] command [arg...]
plockstat [-vACHV] [-n count] [-s depth] [-e secs] [-x opt[=val]] -p pid
The plockstat command is a front-end to DTrace that can be
used to print statistics about POSIX mutexes and read/write locks.
Since OS X 10.11, in order to use this, your process must be run with DYLD_LIBRARY_PATH set to contain /usr/lib/system/introspection:
Which contains the necessary static DTrace probes.
dtrace(1)
July 2007 | 1.0 |