Print this page
9842 man page typos and spelling

Split Close
Expand all
Collapse all
          --- old/usr/src/man/man1/truss.1
          +++ new/usr/src/man/man1/truss.1
↓ open down ↓ 10 lines elided ↑ open up ↑
  11   11  .LP
  12   12  .nf
  13   13  \fBtruss\fR [\fB-fcaeildDE\fR] [\fB-\fR [tTvx] [!] \fIsyscall\fR ,...]
  14   14       [\fB-\fR [sS] [!] \fIsignal\fR ,...] [\fB-\fR [mM] [!] \fIfault\fR ,...]
  15   15       [\fB-\fR [rw] [!] \fIfd\fR ,...]
  16   16       [\fB-\fR [uU] [!] \fIlib\fR ,... : [:] [!] \fIfunc\fR ,...]
  17   17       [\fB-o\fR \fIoutfile\fR] \fIcommand\fR | \fB-p\fR \fIpid\fR[\fI/lwps\fR]...
  18   18  .fi
  19   19  
  20   20  .SH DESCRIPTION
  21      -.sp
  22   21  .LP
  23   22  The \fBtruss\fR utility executes the specified command and produces a trace of
  24   23  the system calls it performs, the signals it receives, and the machine faults
  25   24  it incurs. Each line of the trace output reports either the fault or signal
  26   25  name or the system call name with its arguments and return value(s). System
  27   26  call arguments are displayed symbolically when possible using defines from
  28   27  relevant system headers. For any path name pointer argument, the pointed-to
  29   28  string is displayed. Error returns are reported using the error code names
  30   29  described in \fBIntro\fR(3). If, in the case of an error, the kernel reports a
  31   30  missing privilege, a privilege name as described in \fBprivileges\fR(5) is
  32   31  reported in square brackets (\fB[ ]\fR) after the error code name.
  33   32  .sp
  34   33  .LP
  35   34  Optionally (see the \fB-u\fR option), \fBtruss\fR also produce an entry/exit
  36   35  trace of user-level function calls executed by the traced process, indented to
  37   36  indicate nesting.
  38   37  .SH OPTIONS
  39      -.sp
  40   38  .LP
  41   39  For those options that take a list argument, the name \fBall\fR can be used as
  42   40  a shorthand to specify all possible members of the list. If the list begins
  43   41  with a \fB!\fR, the meaning of the option is negated (for example, exclude
  44   42  rather than trace). Multiple occurrences of the same option can be specified.
  45   43  For the same name in a list, subsequent options (those to the right) override
  46   44  previous ones (those to the left).
  47   45  .sp
  48   46  .LP
  49   47  The following options are supported:
↓ open down ↓ 427 lines elided ↑ open up ↑
 477  475  .sp
 478  476  .LP
 479  477  \fBspell\fR is a shell script, so the \fB-f\fR flag is needed to trace not only
 480  478  the shell but also the processes created by the shell. (The spell script runs a
 481  479  pipeline of eight processes.)
 482  480  
 483  481  .LP
 484  482  \fBExample 4 \fRAbbreviating Output
 485  483  .sp
 486  484  .LP
 487      -The following example abreviates output:
      485 +The following example abbreviates output:
 488  486  
 489  487  .sp
 490  488  .in +2
 491  489  .nf
 492  490  example$ \fBtruss nroff -mm \fIdocument\fR >nroff.out\fR
 493  491  .fi
 494  492  .in -2
 495  493  .sp
 496  494  
 497  495  .sp
↓ open down ↓ 97 lines elided ↑ open up ↑
 595  593  example# \fBtruss -p -v all 1\fR
 596  594  .fi
 597  595  .in -2
 598  596  .sp
 599  597  
 600  598  .sp
 601  599  .LP
 602  600  Interrupting \fBtruss\fR returns \fBinit\fR to normal operation.
 603  601  
 604  602  .SH FILES
 605      -.sp
 606  603  .ne 2
 607  604  .na
 608  605  \fB\fB/proc/*\fR\fR
 609  606  .ad
 610  607  .RS 11n
 611  608  Process files
 612  609  .RE
 613  610  
 614  611  .SH SEE ALSO
 615      -.sp
 616  612  .LP
 617  613  \fBdate\fR(1), \fBfind\fR(1), \fBproc\fR(1), \fBps\fR(1), \fBsh\fR(1),
 618  614  \fBspell\fR(1), \fBinit\fR(1M), \fBIntro\fR(3), \fBexec\fR(2), \fBfork\fR(2),
 619  615  \fBlseek\fR(2), \fBopen\fR(2), \fBread\fR(2), \fBtime\fR(2), \fBvfork\fR(2),
 620  616  \fBwrite\fR(2), \fBctime\fR(3C), \fBsignal.h\fR(3HEAD), \fBproc\fR(4),
 621  617  \fBattributes\fR(5), \fBprivileges\fR(5), \fBthreads\fR(5)
 622  618  .sp
 623  619  .LP
 624  620  \fIman pages section 2: System Calls\fR
 625  621  .SH NOTES
 626      -.sp
 627  622  .LP
 628  623  Some of the system calls described in \fIman pages section 2: System Calls\fR
 629  624  differ from the actual operating system interfaces. Do not be surprised by
 630  625  minor deviations of the trace output from the descriptions in that document.
 631  626  .sp
 632  627  .LP
 633  628  Every machine fault (except a page fault) results in the posting of a signal to
 634  629  the \fBLWP\fR that incurred the fault. A report of a received signal
 635  630  immediately follows each report of a machine fault (except a page fault) unless
 636  631  that signal is being blocked.
↓ open down ↓ 37 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX