Module Name: src Committed By: wiz Date: Fri Jun 26 15:45:18 UTC 2020
Modified Files: src/external/cddl/dtracetoolkit/dist/Man/man1m: dtruss.1m opensnoop.1m Log Message: Sort options and their descriptions. Replace tab with space in table. Make non-standard section subsections. Comment out Xr to procsystime(1) which does not exist on NetBSD. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 \ src/external/cddl/dtracetoolkit/dist/Man/man1m/dtruss.1m cvs rdiff -u -r1.4 -r1.5 \ src/external/cddl/dtracetoolkit/dist/Man/man1m/opensnoop.1m Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/external/cddl/dtracetoolkit/dist/Man/man1m/dtruss.1m diff -u src/external/cddl/dtracetoolkit/dist/Man/man1m/dtruss.1m:1.5 src/external/cddl/dtracetoolkit/dist/Man/man1m/dtruss.1m:1.6 --- src/external/cddl/dtracetoolkit/dist/Man/man1m/dtruss.1m:1.5 Thu Jun 25 14:08:48 2020 +++ src/external/cddl/dtracetoolkit/dist/Man/man1m/dtruss.1m Fri Jun 26 15:45:18 2020 @@ -1,4 +1,4 @@ -.\" $NetBSD: dtruss.1m,v 1.5 2020/06/25 14:08:48 uwe Exp $ +.\" $NetBSD: dtruss.1m,v 1.6 2020/06/26 15:45:18 wiz Exp $ .Dd June 25, 2020 .Dt DTRUSS 1 .Os @@ -7,7 +7,7 @@ .Nd process syscall details. Uses DTrace .Sh SYNOPSIS .Nm -.Op Fl acdeflhoLs +.Op Fl acdeflhLos .Op Fl t Ar syscall .Op Fl p Ar PID | Fl n Ar name | command .Sh DESCRIPTION @@ -39,18 +39,18 @@ print relative timestamps, us (microseco print elapsed times, us .It Fl f follow children as they are forked -.It Fl l -force printing of pid/lwpid per line .It Fl L don't print pid/lwpid per line +.It Fl l +force printing of pid/lwpid per line .It Fl n Ar name examine processes with this name .It Fl o print on-cpu times, us -.It Fl s -print stack backtraces .It Fl p Ar PID examine this PID +.It Fl s +print stack backtraces .It Fl t Ar syscall examine this syscall only .El @@ -59,7 +59,7 @@ examine this syscall only .It PID/LWPID Ta Process ID\|/\|Lightweight Process ID .It RELATIVE Ta relative timestamps to the start of the thread, us .It ELAPSD Ta elapsed time for this system call, us -.It CPU Ta on-cpu time for this system call, us +.It CPU Ta on-cpu time for this system call, us .It SYSCALL(args) Ta system call name, with arguments (some may be evaluated) .El .Sh EXAMPLES @@ -88,9 +88,9 @@ run the command and print elapsed and on cpu times, .Pp .Dl Ic dtruss -eo date -.Sh STABILITY +.Ss STABILITY stable \(em needs the syscall provider. -.Sh DOCUMENTATION +.Ss DOCUMENTATION See the DTraceToolkit for further documentation under the Docs directory. The DTraceToolkit docs may include full worked examples with verbose descriptions explaining the output. @@ -98,8 +98,8 @@ descriptions explaining the output. dtruss will run forever until Ctrl\-C is hit, or if a command was executed dtruss will finish when the command ends. .Sh SEE ALSO -.Xr dtrace 1 , -.Xr procsystime 1 +.Xr dtrace 1 +.\".Xr procsystime 1 .Sh AUTHORS .An Brendan Gregg [Sydney, Australia] Index: src/external/cddl/dtracetoolkit/dist/Man/man1m/opensnoop.1m diff -u src/external/cddl/dtracetoolkit/dist/Man/man1m/opensnoop.1m:1.4 src/external/cddl/dtracetoolkit/dist/Man/man1m/opensnoop.1m:1.5 --- src/external/cddl/dtracetoolkit/dist/Man/man1m/opensnoop.1m:1.4 Thu Jun 25 14:59:51 2020 +++ src/external/cddl/dtracetoolkit/dist/Man/man1m/opensnoop.1m Fri Jun 26 15:45:18 2020 @@ -1,4 +1,4 @@ -.\" $NetBSD: opensnoop.1m,v 1.4 2020/06/25 14:59:51 uwe Exp $ +.\" $NetBSD: opensnoop.1m,v 1.5 2020/06/26 15:45:18 wiz Exp $ .Dd June 25, 2020 .Dt OPENSNOOP 1 .Os @@ -22,16 +22,22 @@ attempting to open files that do not exi Since this uses DTrace, only the root user or users with the dtrace_kernel privilege can run this command. .Bl -tag -width Fl -.It Fl a -print all data .It Fl A dump all data, space delimited +.It Fl a +print all data .It Fl c print current working directory of process .It Fl e print errno value +.It Fl f Ar pathname +file pathname to snoop .It Fl g print full command arguments +.It Fl n Ar name +process name to snoop +.It Fl p Ar PID +process ID to snoop .It Fl s print start time, us .It Fl v @@ -40,12 +46,6 @@ print start time, string only print failed opens .It Fl Z print zonename -.It Fl f Ar pathname -file pathname to snoop -.It Fl n Ar name -process name to snoop -.It Fl p Ar PID -process ID to snoop .El .Bl -column "STRTIME" .It Sy Fields Ta Sy Description @@ -81,9 +81,9 @@ See error codes, Snoop this file only, .Pp .Dl Ic opensnoop -f /etc/passwd -.Sh STABILITY +.Ss STABILITY stable \(em needs the syscall provider. -.Sh DOCUMENTATION +.Ss DOCUMENTATION See the DTraceToolkit for further documentation under the Docs directory. The DTraceToolkit docs may include full worked examples with verbose descriptions explaining the output.