Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 May 2020 17:21:35 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 246722] ktrace(1): Add example to trace all processes
Message-ID:  <bug-246722-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D246722

            Bug ID: 246722
           Summary: ktrace(1): Add example to trace all processes
           Product: Base System
           Version: 12.1-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: kevinz5000@gmail.com

Created attachment 214846
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D214846&action=
=3Dedit
Patch

It is not immediately obvious how to use ktrace(1) to trace all running
processes. This patch adds an example to the ktrace(1) man page.

     As root, enable system call tracing on all processes (since all proces=
ses=20=20
     descend from init(8) ):=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20
           # ktrace -t c -dp 1

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-246722-227>