1 .\" Man page generated from reStructuredText.
3 .TH "DYLD_USAGE" "1" "2020-04-13" "" "dyld"
5 dyld_usage \- report dynamic linker activity in real-time
7 .nr rst2man-indent-level 0
11 level \\n[rst2man-indent-level]
12 level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
19 .\" .rstReportMargin pre:
21 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
22 . nr rst2man-indent-level +1
23 .\" .rstReportMargin post:
27 .\" indent \\n[an-margin]
28 .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
29 .nr rst2man-indent-level -1
30 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
31 .in \\n[rst2man-indent\\n[rst2man-indent-level]]u
35 \fBdyld_usage\fP \fB[\-e] [\-f mode] [\-j] [\-h] [\-t seconds] [\-R rawfile [\-S start_time]
36 [\-E end_time]] [pid | cmd [pid | cmd] ...]\fP
39 The \fBdyld_usage\fP utility presents an ongoing display of information
40 pertaining to dynamic linker activity within one or more processes. It requires
41 root privileges due to the kernel tracing facility it uses to operate. By
42 default \fBdyld_usage\fP monitors \fIdyld\fP activity in all processes except
43 the running \fIdyld_usage\fP process, \fITerminal\fP, \fItelnetd\fP, \fIsshd\fP, \fIrlogind\fP,
44 \fItcsh\fP, \fIcsh\fP, and \fIsh\fP\&. These defaults can be overridden such that output is
45 limited to include or exclude a list of processes specified on the command line.
46 Processes may be specified either by file name or by process id.
48 The output of \fBdyld_usage\fP is formatted according to the size of your
49 window. A narrow window will display fewer columns of data. Use a wide window
50 for maximum data display.
53 \fBdyld_usage\fP supports the following options:
57 Exclude the specified list of pids and commands from the sample, and exclude
58 \fBdyld_usage\fP by default.
64 Display output in JSON format.
69 Display usage information and exit.
74 Specify a raw trace file to process.
79 Specify timeout in seconds (for use in automated tools).
83 The data columns displayed are as follows:
89 Time of day when call occurred.
92 The \fIdyld\fP operation triggered by the process. Typically these operations
93 are triggered by process launch or via a \fBdlopen\fP or \fBdlsym\fP system
94 call. System call entries include both the parameters to the system call and
95 the system call\(aqs return code (e.g., 0 on success).
98 The elapsed time spent in the dynamic linker operation or system call.
101 The process that generated the dynamic linker activity. If space allows, the
102 thread id will be appended to the process name (i.e., Mail.nnn).
109 \fBsudo dyld_usage Mail\fP
111 \fBdyld_usage\fP will display dynamic link operations for all instances of
112 processes named Mail.
117 \fBdyld(1)\fP, \fBfs_usage(1)\fP
121 2000-2020, Apple, Inc.
122 .\" Generated by docutils manpage writer.