author | Oleksandr Gavenko <gavenkoa@gmail.com> |
Sat, 03 Oct 2015 18:29:10 +0300 | |
changeset 1765 | 2132765de2f4 |
parent 1346 | a2fbf50a43f4 |
child 1905 | fba288d59662 |
permissions | -rw-r--r-- |
1334
9bf0d5a1f0cf
Include common header with quick links.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1205
diff
changeset
|
1 |
.. -*- coding: utf-8; -*- |
9bf0d5a1f0cf
Include common header with quick links.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1205
diff
changeset
|
2 |
.. include:: HEADER.rst |
1198 | 3 |
|
4 |
======================== |
|
5 |
Debugging in Mac OS X. |
|
6 |
======================== |
|
1346
a2fbf50a43f4
Fix: Has no 'contents::' directive.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1334
diff
changeset
|
7 |
.. contents:: |
1198 | 8 |
|
9 |
dtruss. |
|
10 |
======= |
|
11 |
||
12 |
$ dtruss df -h # run and examine the "df -h" command |
|
13 |
$ dtruss -p 1871 # examine PID 1871 |
|
14 |
$ dtruss -n tar # examine all processes called "tar" |
|
15 |
||
16 |
dtrace. |
|
17 |
======= |
|
18 |
:: |
|
19 |
||
20 |
$ man -k dtrace |
|
21 |
$ dapptrace |
|
22 |
||
1199
b99a272a6b54
Wikipedia home page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1198
diff
changeset
|
23 |
See: |
b99a272a6b54
Wikipedia home page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1198
diff
changeset
|
24 |
|
b99a272a6b54
Wikipedia home page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1198
diff
changeset
|
25 |
http://en.wikipedia.org/wiki/Dtrace |
b99a272a6b54
Wikipedia home page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1198
diff
changeset
|
26 |
Wikipedia home page. |
b99a272a6b54
Wikipedia home page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1198
diff
changeset
|
27 |
|
1205 | 28 |
ktrace. |
29 |
======= |
|
1199
b99a272a6b54
Wikipedia home page.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1198
diff
changeset
|
30 |
|
1205 | 31 |
Log files generated by ``ktrace`` are viewable in human-readable form using |
32 |
``kdump``. |
|
33 |
||
34 |
Since Mac OS X 10.5 Leopard, ktrace has been replaced by dtrace. |
|
35 |
||
36 |
http://en.wikipedia.org/wiki/Ktrace |
|
37 |
Wikipedia home page. |
|
38 |