Hallo, dies ist ein Test.
PWD: /www/data-lst1/unixsoft/unixsoft/kaempfer/.public_html
Running in File Mode
Relative path: ./../../../../.././../usr/man/man8/nfssnoop.8
Real path: /usr/share/man/man8/nfssnoop.8
Zurück
'\" te .\" Copyright (c) 2016, 2022, Oracle and/or its affiliates. .TH nfssnoop 8 "26 Aug 2022" "Oracle Solaris 11.4" "System Administration Commands" .SH NAME nfssnoop \- construct dtrace scripts to inspect NFS requests or responses .SH SYNOPSIS .LP .nf nfssnoop [-ln] [-o output_file] [-s script_file] [-x dtrace_options] operations .fi .SH DESCRIPTION .sp .LP The \fBnfssnoop\fR command is a debugging tool based on a collection of \fBdtrace\fR command scripts. .sp .LP The \fBnfssnoop\fR command displays each request or response pair in multi-line forms and output. For more information on debugging, see the \fBdtrace\fR(8) man page. .SH OPTIONS .sp .LP The following options are supported: .sp .ne 2 .mk .na \fB\fB-l\fR\fR .ad .br .sp .6 .RS 4n List traceable NFS operations .RE .sp .ne 2 .mk .na \fB\fB-n\fR\fR .ad .br .sp .6 .RS 4n Constructs the \fBdtrace\fR file and does not run it .RE .sp .ne 2 .mk .na \fB\fB-o\fR \fIoutput_file\fR\fR .ad .br .sp .6 .RS 4n Redirects output to file specified by \fBoutput_file\fR .RE .sp .ne 2 .mk .na \fB\fB-s\fR \fIscript_file\fR\fR .ad .br .sp .6 .RS 4n Saves constructed script to file specified by \fBscript_file\fR .RE .sp .ne 2 .mk .na \fB\fB-x\fR \fIdtrace_options\fR\fR .ad .br .sp .6 .RS 4n Adds additional \fBdtrace\fR command line options. Each occurrence can add one option .RE .sp .ne 2 .mk .na \fB\fB-d\fR \fIdetail_type\fR\fR .ad .br .sp .6 .RS 4n Adds extra detail of the type named. The only \fBdetail_type\fR currently implemented is "\fBrdma\fR", which adds tracing of lower-level RDMA messages associated with the NFS protocol operations traced .RE .sp .ne 2 .mk .na \fB\fB-e\fR\fR .ad .br .sp .6 .RS 4n Adds tracing for errors which occur outside the processing of individual NFS operations .RE .SH OPERANDS .sp .LP The following operands are supported: .sp .ne 2 .mk .na \fB\fIoperations\fR\fR .ad .RS 14n .rt List of operations to trace. Use the -l option to get a list of supported operations. .sp For example, \fBnfssnoop open close delete\fR traces basic delegation information. .RE .SH EXAMPLES .LP \fBExample 1\fR Tracing NFSv4 Open and Close Operations: .sp .LP The following example traces the NFSv4 open and close operations. .sp .in +2 .nf example# \fB/usr/lib/nfs/nfssnoop open close\fR 12:25:32.178 116498899 OPEN_START proto=rdma remoteIP=10.135.197.59 12:25:32.178 116498899 OPEN_START_CONT seqid=8 share_access=1 share 12:25:32.178 116498899 OPEN_START_CONT attrmask=0.0 attrlist_len=0 12:25:32.178 116498899 OPEN_START_CONT file=libc.so 12:25:32.178 116498899 OPEN_DONE status#=10011 status=EXPIRED 12:25:32.178 116498899 OPEN_DONE_CONT why=not-wanted server_will_pu 12:25:32.192 200384979 CLOSE_START proto=rdma remoteIP=10.135.197.5 12:25:32.192 200384979 CLOSE_START_CONT stateid.seqid=0x2 stateid.o 12:25:32.192 200384979 CLOSE_DONE status#=0 status=OK 12:25:32.192 200384979 CLOSE_DONE_CONT stateid.seqid=0x3 stateid.ot .fi .in -2 .sp .LP \fBExample 2\fR Constructing a Script to Trace Read and Write Operations .sp .LP The following example constructs a script to trace read and write operations. .sp .in +2 .nf example# \fB/usr/lib/nfs/nfssnoop -n -s /path/generated_script.d read write\fR .fi .in -2 .sp .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\fB>0\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/file-system/nfs .TE .sp .SH SEE ALSO .sp .LP \fBzones\fR(7), \fBdtrace\fR(8)