Changeset View
Changeset View
Standalone View
Standalone View
head/cddl/contrib/opensolaris/cmd/lockstat/lockstat.1
Show All 15 Lines | |||||
.\" fields enclosed by brackets "[]" replaced with your own identifying | .\" fields enclosed by brackets "[]" replaced with your own identifying | ||||
.\" information: Portions Copyright [yyyy] [name of copyright owner] | .\" information: Portions Copyright [yyyy] [name of copyright owner] | ||||
.\" | .\" | ||||
.\" CDDL HEADER END | .\" CDDL HEADER END | ||||
.\" Copyright (c) 2008, Sun Microsystems, Inc. All Rights Reserved. | .\" Copyright (c) 2008, Sun Microsystems, Inc. All Rights Reserved. | ||||
.\" | .\" | ||||
.\" $FreeBSD$ | .\" $FreeBSD$ | ||||
.\" | .\" | ||||
.Dd May 24, 2015 | .Dd September 29, 2015 | ||||
.Dt LOCKSTAT 1 | .Dt LOCKSTAT 1 | ||||
.Os | .Os | ||||
.Sh NAME | .Sh NAME | ||||
.Nm lockstat | .Nm lockstat | ||||
.Nd report kernel lock and profiling statistics | .Nd report kernel lock and profiling statistics | ||||
.Sh SYNOPSIS | .Sh SYNOPSIS | ||||
.Nm | .Nm | ||||
.Op Fl ACEHIV | .Op Fl ACEHIV | ||||
.Op Fl e Ar event-list | .Op Fl e Ar event-list | ||||
.Op Fl i Ar rate | .Op Fl i Ar rate | ||||
.Op Fl b | t | h | s Ar depth | .Op Fl b | t | h | s Ar depth | ||||
.Op Fl n Ar num-records | .Op Fl n Ar num-records | ||||
.Op Fl l Ar lock Oo Ns , Ns Ar size Oc | .Op Fl l Ar lock Oo Ns , Ns Ar size Oc | ||||
.Op Fl d Ar duration | .Op Fl d Ar duration | ||||
.Op Fl f Ar function Oo Ns , Ns Ar size Oc | .Op Fl f Ar function Oo Ns , Ns Ar size Oc | ||||
.Op Fl T | .Op Fl T | ||||
.Op Fl ckgwWRpP | .Op Fl kgwWRpP | ||||
.Op Fl D Ar count | .Op Fl D Ar count | ||||
.Op Fl o filename | .Op Fl o filename | ||||
.Op Fl x Ar opt Oo Ns = Ns Ar val Oc | .Op Fl x Ar opt Oo Ns = Ns Ar val Oc | ||||
.Ar command | .Ar command | ||||
.Op Oo Ar args Oc | .Op Oo Ar args Oc | ||||
.Sh DESCRIPTION | .Sh DESCRIPTION | ||||
The | The | ||||
.Nm | .Nm | ||||
▲ Show 20 Lines • Show All 117 Lines • ▼ Show 20 Lines | |||||
.It Fl n Ar num-records | .It Fl n Ar num-records | ||||
Maximum number of data records. | Maximum number of data records. | ||||
.It Fl T | .It Fl T | ||||
Trace (rather than sample) events. | Trace (rather than sample) events. | ||||
This is off by default. | This is off by default. | ||||
.El | .El | ||||
.Ss Data Reporting | .Ss Data Reporting | ||||
.Bl -tag -width indent | .Bl -tag -width indent | ||||
.It Fl c | |||||
Coalesce lock data for lock arrays. | |||||
.It Fl D Ar count | .It Fl D Ar count | ||||
Only display the top | Only display the top | ||||
.Ar count | .Ar count | ||||
events of each type. | events of each type. | ||||
.It Fl g | .It Fl g | ||||
Show total events generated by function. | Show total events generated by function. | ||||
For example, if | For example, if | ||||
.Fn foo | .Fn foo | ||||
▲ Show 20 Lines • Show All 220 Lines • Show Last 20 Lines |