From owner-svn-src-stable-7@FreeBSD.ORG Mon Jun 6 22:14:46 2011 Return-Path: Delivered-To: svn-src-stable-7@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E6A5D106564A; Mon, 6 Jun 2011 22:14:46 +0000 (UTC) (envelope-from gjb@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id D67848FC18; Mon, 6 Jun 2011 22:14:46 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id p56MEkJ4051415; Mon, 6 Jun 2011 22:14:46 GMT (envelope-from gjb@svn.freebsd.org) Received: (from gjb@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id p56MEkFO051413; Mon, 6 Jun 2011 22:14:46 GMT (envelope-from gjb@svn.freebsd.org) Message-Id: <201106062214.p56MEkFO051413@svn.freebsd.org> From: Glen Barber Date: Mon, 6 Jun 2011 22:14:46 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org X-SVN-Group: stable-7 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r222792 - stable/7/usr.bin/truss X-BeenThere: svn-src-stable-7@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for only the 7-stable src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Jun 2011 22:14:47 -0000 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 ,