Hallo, dies ist ein Test.
PWD: /www/data-lst1/unixsoft/unixsoft/kaempfer/.public_html
Running in File Mode
Relative path: ././../../../../../../usr/man/man8/plockstat.8
Real path: /usr/share/man/man8/plockstat.8
Zurück
'\" te .\" Copyright (c) 2009, 2011, Oracle and/or its affiliates. All rights reserved. .TH plockstat 8 "16 Aug 2011" "Oracle Solaris 11.4" "System Administration Commands" .SH NAME plockstat \- report user-level lock statistics .SH SYNOPSIS .LP .nf \fBplockstat\fR [\fB-vACHV\fR] [\fB-n\fR \fIcount\fR] [\fB-s\fR \fIdepth\fR] [\fB-e\fR \fIsecs\fR] [\fB-x\fR \fIarg\fR [=val]] \fIcommand\fR [\fIarg\fR]... .fi .LP .nf \fBplockstat\fR [\fB-vACHV\fR] [\fB-n\fR \fIcount\fR] [\fB-s\fR \fIdepth\fR] [\fB-e\fR \fIsecs\fR] [\fB-x\fR \fIarg\fR [=val]] \fB-p\fR \fIpid\fR .fi .SH DESCRIPTION .sp .LP The \fBplockstat\fR utility gathers and displays user-level locking statistics. By default, \fBplockstat\fR 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. .sp .LP \fBplockstat\fR gathers data until the specified command completes or the process specified with the \fB-p\fR option completes. .sp .LP \fBplockstat\fR 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 \fBdtrace_proc\fR privilege and have permission to observe a particular process with \fBplockstat\fR. Refer to the \fIOracle Solaris 11.4 DTrace (Dynamic Tracing) Guide\fR for more information about DTrace security features. .SH OPTIONS .sp .LP The following options are supported: .sp .ne 2 .mk .na \fB\fB-A\fR\fR .ad .RS 16n .rt Watch all lock events. This option is equivalent to \fB-CH\fR. .RE .sp .ne 2 .mk .na \fB\fB-C\fR\fR .ad .RS 16n .rt Watch contention events. .RE .sp .ne 2 .mk .na \fB\fB-H\fR\fR .ad .RS 16n .rt Watch hold events. .RE .sp .ne 2 .mk .na \fB\fB-e\fR \fIsecs\fR\fR .ad .RS 16n .rt Exit after the number of seconds specified have elapsed. .RE .sp .ne 2 .mk .na \fB\fB-n\fR \fIcount\fR\fR .ad .RS 16n .rt Display only the specified number of entries for each output category. .RE .sp .ne 2 .mk .na \fB\fB-s\fR \fIdepth\fR\fR .ad .RS 16n .rt Record a stack trace rather than just the calling function. .RE .sp .ne 2 .mk .na \fB\fB-p\fR \fIpid\fR\fR .ad .RS 16n .rt Specify a process ID from which \fBplockstat\fR is to gather data. .RE .sp .ne 2 .mk .na \fB\fB-v\fR\fR .ad .RS 16n .rt Print out a message to indicate that tracing has started. .RE .sp .ne 2 .mk .na \fB\fB-x\fR \fIarg\fR[=\fIval\fR]\fR .ad .RS 16n .rt Enable or modify a DTrace runtime option or D compiler option. The list of options is found in the \fIOracle Solaris 11.4 DTrace (Dynamic Tracing) Guide\fR. Boolean options are enabled by specifying their name. Options with values are set by separating the option name and value with an equals sign (\fB=\fR). .RE .sp .ne 2 .mk .na \fB\fB-V\fR\fR .ad .RS 16n .rt Print the Dtrace commands used to gather the data. The output can then be used directly with the \fBdtrace\fR(8) command. .RE .SH OPERANDS .sp .LP The following operands are supported: .sp .ne 2 .mk .na \fB\fIarg\fR\fR .ad .RS 11n .rt A string to be passed as an argument to \fIcommand\fR. .RE .sp .ne 2 .mk .na \fB\fIcommand\fR\fR .ad .RS 11n .rt The name of a utility to be invoked. .RE .sp .ne 2 .mk .na \fB\fIcount\fR\fR .ad .RS 11n .rt A positive integer value. .RE .sp .ne 2 .mk .na \fB\fIpid\fR\fR .ad .RS 11n .rt A process identifier for a process to be monitored. .RE .sp .ne 2 .mk .na \fB\fIsecs\fR\fR .ad .RS 11n .rt Duration specified as a positive integer number of seconds. .RE .SH DISPLAY HEADERS .sp .LP The following headers appear over columns of data in \fBplockstat\fR output. .sp .ne 2 .mk .na \fB\fBCount\fR\fR .ad .br .sp .6 .RS 4n Number of times an event occurred. .RE .sp .ne 2 .mk .na \fB\fBnsec\fR\fR .ad .br .sp .6 .RS 4n Average duration of an event, in nanoseconds. .RE .sp .ne 2 .mk .na \fB\fBLock\fR\fR .ad .br .sp .6 .RS 4n Address of a lock, displayed symbolically if possible. .RE .sp .ne 2 .mk .na \fB\fBCaller\fR\fR .ad .br .sp .6 .RS 4n Address of a caller, displayed symbolically if possible. .RE .SH EXIT STATUS .sp .LP The following exit values are returned: .sp .ne 2 .mk .na \fB\fB0\fR\fR .ad .RS 6n .rt Successful completion. .RE .sp .ne 2 .mk .na \fB>\fB0\fR\fR .ad .RS 6n .rt An error occurred. .RE .SH ATTRIBUTES .sp .LP See \fBattributes\fR(7) for descriptions of the following attributes: .sp .TS tab( ) box; cw(2.75i) |cw(2.75i) lw(2.75i) |lw(2.75i) . ATTRIBUTE TYPE ATTRIBUTE VALUE _ Availability system/dtrace _ Interface Stability See below. .TE .sp .sp .LP The command-line syntax is Committed. The human-readable output is Uncommitted. .SH SEE ALSO .sp .LP \fBmutex_init\fR(3C), \fBpthread_mutex_lock\fR(3C), \fBpthread_rwlock_rdlock\fR(3C), \fBpthread_rwlock_unlock\fR(3C), \fBpthread_rwlock_wrlock\fR(3C), \fBrwlock\fR(3C), \fBfasttrap\fR(4D), \fBattributes\fR(7), \fBdtrace\fR(8), \fBlockstat\fR(8) .sp .LP \fIOracle Solaris 11.4 DTrace (Dynamic Tracing) Guide\fR