linux-debug.rst
author Oleksandr Gavenko <gavenkoa@gmail.com>
Wed, 05 Aug 2015 23:55:34 +0300
changeset 1729 22ffd80639c0
parent 1691 7eeecad00b74
child 1905 fba288d59662
permissions -rw-r--r--
Make centered content design with adoption for mobile devices. Highlight TOC.

.. -*- coding: utf-8; -*-
.. include:: HEADER.rst

========================
 Debugging under Linux.
========================
.. contents::

ltrace.
=======

  http://www.ltrace.org/
                home page
  https://sourceforge.net/projects/ltrace/
                SourceForge home page
  http://en.wikipedia.org/wiki/Ltrace
                Wikipedia page.

strace.
=======
::

  $ strace -o $CMD.log -e trace=open,close $CMD

See:

  http://en.wikipedia.org/wiki/Strace
                Wikipedia home page.

lsof.
=====

htop.
=====

systemtap.
==========

  http://en.wikipedia.org/wiki/SystemTap
                Wikipedia home page.