plockstat - report user-level lock statistics
plockstat [-vACHV] [-n count] [-s depth] [-e secs] [-x arg [=val]] command [arg]...
plockstat [-vACHV] [-n count] [-s depth] [-e secs] [-x arg [=val]] -p pid
The plockstat utility gathers and displays user-level locking statistics. By default, plockstat monitors all lock contention events, gathers frequency and timing data about those events, and displays the data in decreasing frequency order, so that the most common events appear first.
plockstat gathers data until the specified command completes or the process specified with the -p option completes.
plockstat relies on DTrace to instrument a running process or a command it invokes to trace events of interest. This imposes a small but measurable performance overhead on the processes being observed. Users must have the dtrace_proc privilege and have permission to observe a particular process with plockstat. Refer to the for more information about DTrace security features.
The following options are supported:
-A
-C
-H
-e secs
-n count
-s depth
-p pid
-v
-x arg[=val]
-V
The following operands are supported:
arg
command
count
pid
secs
The following exit values are returned:
0
>0
See attributes(5) for descriptions of the following attributes:
|
The command-line syntax is Evolving. The human-readable output is Unstable.
dtrace(1M), lockstat(1M), mutex_init(3C), pthread_mutex_lock(3C), pthread_rwlock_rdlock(3C), pthread_rwlock_wrlock(3C), pthread_rwlock_unlock(3C), rwlock(3C), attributes(5), fasttrap(7D)
Закладки на сайте Проследить за страницей |
Created 1996-2024 by Maxim Chirkov Добавить, Поддержать, Вебмастеру |