linux-debug.rst
author Oleksandr Gavenko <gavenkoa@gmail.com>
Mon, 22 Feb 2016 12:41:52 +0200
changeset 1903 901e7394849f
parent 1691 7eeecad00b74
child 1905 fba288d59662
permissions -rw-r--r--
Decrease intent to increase space usage on mobile.

.. -*- 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.