svn commit: r222792 - stable/7/usr.bin/truss

Glen Barber gjb at FreeBSD.org
Mon Jun 6 22:14:47 UTC 2011


Author: gjb (doc committer)
Date: Mon Jun  6 22:14:46 2011
New Revision: 222792
URL: http://svn.freebsd.org/changeset/base/222792

Log:
  MFC 187607 [1]:
  
  Attaching to the init process returns EINVAL,
  so give an example that is more likely to work.
  Stolen from the ktrace(1) manual page.
  
  PR:		128222
  Original commit by:	trhodes

Modified:
  stable/7/usr.bin/truss/truss.1
Directory Properties:
  stable/7/usr.bin/truss/   (props changed)

Modified: stable/7/usr.bin/truss/truss.1
==============================================================================
--- stable/7/usr.bin/truss/truss.1	Mon Jun  6 22:06:42 2011	(r222791)
+++ stable/7/usr.bin/truss/truss.1	Mon Jun  6 22:14:46 2011	(r222792)
@@ -1,6 +1,6 @@
 .\" $FreeBSD$
 .\"
-.Dd January 2, 2004
+.Dd January 22, 2009
 .Dt TRUSS 1
 .Os
 .Sh NAME
@@ -85,7 +85,7 @@ options are mutually exclusive.)
 # Do the same, but put the output into a file
 .Dl $ truss -o /tmp/truss.out /bin/echo hello
 # Follow an already-running process
-.Dl $ truss -p 1
+.Dl $ truss -p 34
 .Sh SEE ALSO
 .Xr kdump 1 ,
 .Xr ktrace 1 ,


More information about the svn-src-stable-7 mailing list