]> git.saurik.com Git - apple/dyld.git/blame - doc/man/man1/dyld_usage.1
dyld-851.27.tar.gz
[apple/dyld.git] / doc / man / man1 / dyld_usage.1
CommitLineData
cf998323
A
1.\" Man page generated from reStructuredText.
2.
bc3b7c8c 3.TH "DYLD_USAGE" "1" "2020-04-13" "" "dyld"
cf998323
A
4.SH NAME
5dyld_usage \- report dynamic linker activity in real-time
6.
7.nr rst2man-indent-level 0
8.
9.de1 rstReportMargin
10\\$1 \\n[an-margin]
11level \\n[rst2man-indent-level]
12level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
13-
14\\n[rst2man-indent0]
15\\n[rst2man-indent1]
16\\n[rst2man-indent2]
17..
18.de1 INDENT
19.\" .rstReportMargin pre:
20. RS \\$1
21. nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
22. nr rst2man-indent-level +1
23.\" .rstReportMargin post:
24..
25.de UNINDENT
26. RE
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
32..
33.SH SYNOPSIS
34.sp
bc3b7c8c 35\fBdyld_usage\fP \fB[\-e] [\-f mode] [\-j] [\-h] [\-t seconds] [\-R rawfile [\-S start_time]
cf998323
A
36[\-E end_time]] [pid | cmd [pid | cmd] ...]\fP
37.SH DESCRIPTION
38.sp
39The \fBdyld_usage\fP utility presents an ongoing display of information
40pertaining to dynamic linker activity within one or more processes. It requires
41root privileges due to the kernel tracing facility it uses to operate. By
42default \fBdyld_usage\fP monitors \fIdyld\fP activity in all processes except
43the 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
45limited to include or exclude a list of processes specified on the command line.
46Processes may be specified either by file name or by process id.
47.sp
48The output of \fBdyld_usage\fP is formatted according to the size of your
49window. A narrow window will display fewer columns of data. Use a wide window
50for maximum data display.
51.SH OPTIONS
52.sp
53\fBdyld_usage\fP supports the following options:
54.INDENT 0.0
55.TP
56.B \-e
57Exclude the specified list of pids and commands from the sample, and exclude
58\fBdyld_usage\fP by default.
bc3b7c8c
A
59.INDENT 7.0
60.TP
61.B \-j
62.UNINDENT
63.sp
64Display output in JSON format.
65.UNINDENT
66.INDENT 0.0
67.TP
68.B \-h
69Display usage information and exit.
cf998323
A
70.UNINDENT
71.INDENT 0.0
72.TP
73.B \-R
bc3b7c8c 74Specify a raw trace file to process.
cf998323
A
75.UNINDENT
76.INDENT 0.0
77.TP
78.B \-t
bc3b7c8c 79Specify timeout in seconds (for use in automated tools).
cf998323
A
80.UNINDENT
81.SH DISPLAY
82.sp
83The data columns displayed are as follows:
84.INDENT 0.0
85.INDENT 3.5
86.INDENT 0.0
87.TP
88.B TIMESTAMP
89Time of day when call occurred.
90.TP
91.B OPERATION
92The \fIdyld\fP operation triggered by the process. Typically these operations
93are triggered by process launch or via a \fBdlopen\fP or \fBdlsym\fP system
94call. System call entries include both the parameters to the system call and
95the system call\(aqs return code (e.g., 0 on success).
96.TP
97.B TIME INTERVAL
98The elapsed time spent in the dynamic linker operation or system call.
99.TP
100.B PROCESS NAME
101The process that generated the dynamic linker activity. If space allows, the
102thread id will be appended to the process name (i.e., Mail.nnn).
103.UNINDENT
104.UNINDENT
105.UNINDENT
106.SH SAMPLE USAGE
107.INDENT 0.0
108.INDENT 3.5
109\fBsudo dyld_usage Mail\fP
110.sp
111\fBdyld_usage\fP will display dynamic link operations for all instances of
112processes named Mail.
113.UNINDENT
114.UNINDENT
115.SH SEE ALSO
116.sp
117\fBdyld(1)\fP, \fBfs_usage(1)\fP
118.SH AUTHOR
119Apple, Inc.
120.SH COPYRIGHT
bc3b7c8c 1212000-2020, Apple, Inc.
cf998323
A
122.\" Generated by docutils manpage writer.
123.