linux-debug.rst
author Oleksandr Gavenko <gavenkoa@gmail.com>
Wed, 26 Aug 2020 13:05:52 +0300
changeset 2430 315b44793009
parent 2228 837f1337c59b
permissions -rw-r--r--
Module defaults.

.. -*- coding: utf-8; -*-

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

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.