11223
|
1 |
<!DOCTYPE REFENTRY PUBLIC "-//Sun Microsystems//DTD DocBook V3.0-Based SolBook Subset V2.0//EN" [
|
|
2 |
<!--ArborText, Inc., 1988-1999, v.4002-->
|
|
3 |
<!ENTITY cmd "dbus-monitor">
|
|
4 |
<!ENTITY % commonents SYSTEM "smancommon.ent">
|
|
5 |
%commonents;
|
|
6 |
<!ENTITY % booktitles SYSTEM "booktitles.ent">
|
|
7 |
%booktitles;
|
|
8 |
<!ENTITY suncopy "Copyright (c) 2007 Sun Microsystems, Inc. All Rights Reserved.">
|
|
9 |
]>
|
|
10 |
<?Pub UDT _bookmark _target>
|
|
11 |
<?Pub Inc>
|
|
12 |
<refentry id="dbus-monitor-1">
|
|
13 |
<!-- %Z%%M% %I% %E% SMI; -->
|
|
14 |
<refmeta><refentrytitle>dbus-monitor</refentrytitle><manvolnum>1</manvolnum>
|
|
15 |
<refmiscinfo class="date">19 Nov 2007</refmiscinfo>
|
|
16 |
<refmiscinfo class="sectdesc">&man1;</refmiscinfo>
|
|
17 |
<refmiscinfo class="software">&release;</refmiscinfo>
|
|
18 |
<refmiscinfo class="arch">generic</refmiscinfo>
|
|
19 |
<refmiscinfo class="copyright">&suncopy;</refmiscinfo>
|
|
20 |
</refmeta>
|
|
21 |
<indexterm><primary>dbus-monitor</primary></indexterm><indexterm><primary>
|
|
22 |
debug probe to print message bus messages
|
|
23 |
</primary></indexterm><refnamediv id="dbus-monitor-1-name">
|
|
24 |
<refname>dbus-monitor</refname><refpurpose>
|
|
25 |
debug probe to print message bus messages
|
|
26 |
</refpurpose></refnamediv>
|
|
27 |
<refsynopsisdiv id="dbus-monitor-1-synp"><title>&synp-tt;</title>
|
|
28 |
<cmdsynopsis><command>&cmd;</command>
|
|
29 |
<arg choice="opt"><option>-system</option> | <option>-session</option></arg>
|
|
30 |
<arg choice="opt"><option>-profile</option> | <option>-monitor</option></arg>
|
|
31 |
<arg choice="opt"><option role="nodash">watch_expressions</option></arg>
|
|
32 |
</cmdsynopsis></refsynopsisdiv>
|
|
33 |
<refsect1 id="dbus-monitor-1-desc"><title>&desc-tt;</title>
|
|
34 |
<para>
|
|
35 |
The &cmd; command is used to monitor messages going through a D\-Bus message
|
|
36 |
bus.
|
|
37 |
</para>
|
|
38 |
<para>
|
|
39 |
There are two standard message buses:
|
|
40 |
</para>
|
|
41 |
<itemizedlist>
|
|
42 |
<listitem><para>
|
|
43 |
systemwide message bus - Disabled and not supported on Solaris, but installed
|
|
44 |
on many systems as the "messagebus" init service.
|
|
45 |
</para></listitem>
|
|
46 |
<listitem><para>
|
|
47 |
per-user-login-session message bus - Enabled and supported on Solaris, and
|
|
48 |
started each time a user logs in.
|
|
49 |
</para></listitem>
|
|
50 |
</itemizedlist>
|
|
51 |
<para>
|
|
52 |
The <option>-system</option> and <option>-session</option> options direct &cmd;
|
|
53 |
to monitor the system or session buses respectively. If neither is specified,
|
|
54 |
&cmd; monitors the session bus.
|
|
55 |
</para>
|
|
56 |
<para>
|
|
57 |
&cmd; has two different output modes, the 'classic'-style monitoring mode and
|
|
58 |
profiling mode. The profiling format is a compact format with a single line
|
|
59 |
per message and microsecond-resolution timing information. The
|
|
60 |
<option>-profile</option> and <option>-monitor</option> options select the
|
|
61 |
profiling and monitoring output format respectively. If neither is specified,
|
|
62 |
&cmd; uses the monitoring output format.
|
|
63 |
</para>
|
|
64 |
<para>
|
|
65 |
The message bus configuration may keep &cmd; from seeing all messages,
|
|
66 |
especially if you run the monitor as a non-root user.
|
|
67 |
</para>
|
|
68 |
<para>
|
|
69 |
See <literal>http://www.freedesktop.org/software/dbus/</literal>
|
|
70 |
for more information.
|
|
71 |
</para>
|
|
72 |
</refsect1>
|
|
73 |
<refsect1 id="dbus-monitor-1-opts"><title>&opts-tt;</title>
|
|
74 |
<para>The following options are supported:</para>
|
|
75 |
<variablelist termlength="wholeline">
|
|
76 |
<varlistentry>
|
|
77 |
<term><option>-monitor</option></term>
|
|
78 |
<listitem><para>
|
|
79 |
Use the monitoring output format (this is the default).
|
|
80 |
</para>
|
|
81 |
</listitem></varlistentry>
|
|
82 |
<varlistentry>
|
|
83 |
<term><option>-profile</option></term>
|
|
84 |
<listitem><para>
|
|
85 |
Use the profiling output format.
|
|
86 |
</para>
|
|
87 |
</listitem></varlistentry>
|
|
88 |
<varlistentry>
|
|
89 |
<term><option>-session</option></term>
|
|
90 |
<listitem><para>
|
|
91 |
Monitor the session message bus (this is the default).
|
|
92 |
</para>
|
|
93 |
</listitem></varlistentry>
|
|
94 |
<varlistentry>
|
|
95 |
<term><option>-system</option></term>
|
|
96 |
<listitem><para>
|
|
97 |
Monitor the system message bus. The system bus is disabled and unsupported
|
|
98 |
on Solaris.
|
|
99 |
</para>
|
|
100 |
</listitem></varlistentry>
|
|
101 |
</variablelist></refsect1>
|
|
102 |
<refsect1 id="dbus-monitor-1-oper"><title>&oper-tt;</title>
|
|
103 |
<para>The following operands are supported:</para>
|
|
104 |
<variablelist termlength="medium">
|
|
105 |
<varlistentry>
|
|
106 |
<term><option role="nodash"><replaceable>watch_expressions</replaceable></option></term>
|
|
107 |
<listitem><para>
|
|
108 |
In order to display the messages you are interested in, you should specify
|
|
109 |
a set of <replaceable>watch_expressions</replaceable> as you would expect
|
|
110 |
to be passed to the dbus_bus_add_watch function.
|
|
111 |
</para>
|
|
112 |
</listitem></varlistentry>
|
|
113 |
</variablelist></refsect1>
|
|
114 |
<refsect1 id="dbus-monitor-1-exit"><title>&exit-tt;</title>
|
|
115 |
<para>The following exit values are returned:</para>
|
|
116 |
<variablelist termlength="xtranarrow">
|
|
117 |
<varlistentry>
|
|
118 |
<term><returnvalue>0</returnvalue></term>
|
|
119 |
<listitem><para>
|
|
120 |
Application exited successfully
|
|
121 |
</para>
|
|
122 |
</listitem></varlistentry>
|
|
123 |
<varlistentry>
|
|
124 |
<term><returnvalue>>0</returnvalue></term>
|
|
125 |
<listitem><para>
|
|
126 |
Application exited with failure
|
|
127 |
</para>
|
|
128 |
</listitem></varlistentry>
|
|
129 |
</variablelist></refsect1>
|
|
130 |
<refsect1 id="dbus-monitor-1-file"><title>&file-tt;</title>
|
|
131 |
<para>The following files are used by this application:</para>
|
|
132 |
<variablelist termlength="wide">
|
|
133 |
<varlistentry>
|
|
134 |
<term><filename>/usr/bin/&cmd;</filename></term>
|
|
135 |
<listitem><para>
|
|
136 |
Executable for &cmd;
|
|
137 |
</para>
|
|
138 |
</listitem></varlistentry>
|
|
139 |
</variablelist></refsect1>
|
|
140 |
<refsect1 id="dbus-monitor-1-attr"><title>&attr-tt;</title>
|
|
141 |
<para>See <olink targetdocent="REFMAN5" localinfo="attributes-5"><citerefentry>
|
|
142 |
<refentrytitle>attributes</refentrytitle><manvolnum>5</manvolnum></citerefentry></olink>
|
|
143 |
for descriptions of the following attributes:</para>
|
|
144 |
<informaltable frame="all">
|
|
145 |
<tgroup cols="2" colsep="1" rowsep="1"><colspec colname="COLSPEC0" colwidth="1*">
|
|
146 |
<colspec colname="COLSPEC1" colwidth="1*">
|
|
147 |
<thead>
|
|
148 |
<row><entry align="center" valign="middle">ATTRIBUTE TYPE</entry><entry align="center"
|
|
149 |
valign="middle">ATTRIBUTE VALUE</entry></row>
|
|
150 |
</thead>
|
|
151 |
<tbody>
|
|
152 |
<row><entry>
|
|
153 |
<para>Availability</para>
|
|
154 |
</entry><entry>
|
|
155 |
<para>SUNWdbus</para>
|
|
156 |
</entry></row><row><entry colname="COLSPEC0">
|
|
157 |
<para>Interface stability</para>
|
|
158 |
</entry><entry colname="COLSPEC1">
|
|
159 |
<para>Volatile</para>
|
|
160 |
</entry></row>
|
|
161 |
</tbody>
|
|
162 |
</tgroup>
|
|
163 |
</informaltable>
|
|
164 |
</refsect1>
|
|
165 |
<refsect1 id="dbus-monitor-1-also"><title>&also-tt;</title>
|
|
166 |
<!--Reference to another man page-->
|
|
167 |
<!--Reference to a Help manual-->
|
|
168 |
<!--Reference to a book.-->
|
|
169 |
<para>
|
|
170 |
<citerefentry><refentrytitle>dbus-cleanup-sockets</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
|
13189
|
171 |
<citerefentry><refentrytitle>dbus-daemon</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
|
11223
|
172 |
<citerefentry><refentrytitle>dbus-launch</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
|
|
173 |
<citerefentry><refentrytitle>dbus-send</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
|
|
174 |
<citerefentry><refentrytitle>dbus-uuidgen</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
|
|
175 |
<citerefentry><refentrytitle>libdbus-glib-1</refentrytitle><manvolnum>3</manvolnum></citerefentry>,
|
|
176 |
<citerefentry><refentrytitle>attributes</refentrytitle><manvolnum>5</manvolnum></citerefentry>
|
|
177 |
</para>
|
|
178 |
</refsect1>
|
|
179 |
<refsect1 id="dbus-monitor-1-note"><title>¬e-tt;</title>
|
|
180 |
<para>
|
|
181 |
For authorship information refer to
|
|
182 |
<literal>http://www.freedesktop.org/software/dbus/doc/AUTHORS</literal>.
|
|
183 |
Updated by Brian Cameron, Sun Microsystems Inc., 2007.
|
|
184 |
</para>
|
|
185 |
<para>
|
|
186 |
&cmd; was written by Philip Blundell. The profiling output mode was added by
|
|
187 |
Olli Salli.
|
|
188 |
</para>
|
|
189 |
<para>
|
|
190 |
Please send bug reports to the D\-Bus mailing list or bug
|
|
191 |
tracker, see
|
|
192 |
<literal>http://www.freedesktop.org/software/dbus/</literal>
|
|
193 |
</para>
|
|
194 |
</refsect1>
|
|
195 |
</refentry>
|