Artifact 60ddf7e3acab852c60dcfa4c41e7afd5685054bc05b3d3c60b9f53bd11febfd0:
Wiki page
[
Monitoring] by
schelte
2018-06-22 10:24:55.
0000: 44 20 32 30 31 38 2d 30 36 2d 32 32 54 31 30 3a D 2018-06-22T10:
0010: 32 34 3a 35 35 2e 38 39 31 0a 4c 20 4d 6f 6e 69 24:55.891.L Moni
0020: 74 6f 72 69 6e 67 0a 55 20 73 63 68 65 6c 74 65 toring.U schelte
0030: 0a 57 20 35 38 32 0a 57 68 65 6e 20 74 68 65 20 .W 582.When the
0040: 3c 69 3e 64 62 75 73 20 6d 6f 6e 69 74 6f 72 3c <i>dbus monitor<
0050: 2f 69 3e 20 63 6f 6d 6d 61 6e 64 20 69 73 20 75 /i> command is u
0060: 73 65 64 2c 20 74 68 65 20 72 65 67 69 73 74 65 sed, the registe
0070: 72 65 64 20 73 63 72 69 70 74 20 69 73 20 63 61 red script is ca
0080: 6c 6c 65 64 20 66 6f 72 20 61 6c 6c 20 72 65 63 lled for all rec
0090: 65 69 76 65 64 20 44 2d 42 75 73 20 6d 65 73 73 eived D-Bus mess
00a0: 61 67 65 73 2e 20 48 6f 77 65 76 65 72 2c 20 62 ages. However, b
00b0: 79 20 64 65 66 61 75 6c 74 20 6f 6e 6c 79 20 6d y default only m
00c0: 65 73 73 61 67 65 73 20 65 78 70 6c 69 63 69 74 essages explicit
00d0: 6c 79 20 64 69 72 65 63 74 65 64 20 74 6f 20 74 ly directed to t
00e0: 68 65 20 44 2d 42 75 73 20 6e 61 6d 65 28 73 29 he D-Bus name(s)
00f0: 20 6f 66 20 74 68 65 20 61 70 70 6c 69 63 61 74 of the applicat
0100: 69 6f 6e 20 61 72 65 20 73 65 6e 74 20 74 6f 20 ion are sent to
0110: 74 68 65 20 61 70 70 6c 69 63 61 74 69 6f 6e 2e the application.
0120: 20 54 6f 20 72 65 63 65 69 76 65 20 6f 74 68 65 To receive othe
0130: 72 20 6d 65 73 73 61 67 65 73 2c 20 61 20 66 69 r messages, a fi
0140: 6c 74 65 72 20 6d 75 73 74 20 62 65 20 73 65 74 lter must be set
0150: 20 75 70 2e 0d 0a 0d 0a 54 6f 20 72 65 63 65 69 up.....To recei
0160: 76 65 20 61 73 20 6d 61 6e 79 20 6d 65 73 73 61 ve as many messa
0170: 67 65 73 20 61 73 20 70 6f 73 73 69 62 6c 65 2c ges as possible,
0180: 20 74 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 20 66 the following f
0190: 69 6c 74 65 72 73 20 63 61 6e 20 62 65 20 75 73 ilters can be us
01a0: 65 64 3a 3c 76 65 72 62 61 74 69 6d 3e 0d 0a 64 ed:<verbatim>..d
01b0: 62 75 73 20 66 69 6c 74 65 72 20 61 64 64 20 2d bus filter add -
01c0: 65 61 76 65 73 64 72 6f 70 20 74 72 75 65 20 2d eavesdrop true -
01d0: 74 79 70 65 20 73 69 67 6e 61 6c 0d 0a 64 62 75 type signal..dbu
01e0: 73 20 66 69 6c 74 65 72 20 61 64 64 20 2d 65 61 s filter add -ea
01f0: 76 65 73 64 72 6f 70 20 74 72 75 65 20 2d 74 79 vesdrop true -ty
0200: 70 65 20 6d 65 74 68 6f 64 5f 63 61 6c 6c 0d 0a pe method_call..
0210: 64 62 75 73 20 66 69 6c 74 65 72 20 61 64 64 20 dbus filter add
0220: 2d 65 61 76 65 73 64 72 6f 70 20 74 72 75 65 20 -eavesdrop true
0230: 2d 74 79 70 65 20 6d 65 74 68 6f 64 5f 72 65 74 -type method_ret
0240: 75 72 6e 0d 0a 64 62 75 73 20 66 69 6c 74 65 72 urn..dbus filter
0250: 20 61 64 64 20 2d 65 61 76 65 73 64 72 6f 70 20 add -eavesdrop
0260: 74 72 75 65 20 2d 74 79 70 65 20 65 72 72 6f 72 true -type error
0270: 0d 0a 3c 2f 76 65 72 62 61 74 69 6d 3e 0a 5a 20 ..</verbatim>.Z
0280: 38 64 33 62 64 32 30 63 39 62 63 39 30 38 30 61 8d3bd20c9bc9080a
0290: 31 32 65 38 33 61 66 32 39 66 38 30 38 34 30 32 12e83af29f808402
02a0: 0a .