tracing

All posts tagged tracing by Linux Bash
  • Posted on
    Featured Image
    The blog article describes how to use `LD_DEBUG=files` for tracking shared library dependencies in bash scripts on Linux systems. This feature aids in debugging, optimizing, and securing applications by providing detailed outputs on libraries loaded during program execution. It includes a beginner-friendly example with the `ls` command and an advanced example involving a C program compilation to demonstrate practical applications.
  • Posted on
    Featured Image
    The blog post details using `sysdig` to trace file accesses in Linux, highlighting its capability to capture system events directly from the kernel. It offers installation instructions for different Linux distributions and uses a command format with specified filters to monitor file accesses by scripts. Practical examples, including a Bash script, demonstrate `sysdig`'s utility in debugging, security, and system performance optimization.