summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortrhodes <trhodes@FreeBSD.org>2009-01-23 00:58:14 +0000
committertrhodes <trhodes@FreeBSD.org>2009-01-23 00:58:14 +0000
commit9e3e63a72b0b61f12b8db723909ce670b6cbba73 (patch)
tree75ed14c89f0cec8f01257bdca332f42551f1c761
parent8220172455c6d5a4205d0813b8dacc51fdd3013f (diff)
downloadFreeBSD-src-9e3e63a72b0b61f12b8db723909ce670b6cbba73.zip
FreeBSD-src-9e3e63a72b0b61f12b8db723909ce670b6cbba73.tar.gz
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 Submitted by: Mateusz Guzik <mjguzik@gmail.com>
-rw-r--r--usr.bin/truss/truss.14
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/truss/truss.1 b/usr.bin/truss/truss.1
index ddff08b..28e474e 100644
--- a/usr.bin/truss/truss.1
+++ b/usr.bin/truss/truss.1
@@ -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 ,
OpenPOWER on IntegriCloud