🎁 New User? Get 20% off your first purchase with code NEWUSER20 Register Now →
Menu

Categories

Linux Advanced

What is Strace?

A diagnostic tool that traces system calls and signals made by a process, useful for debugging and performance analysis.

Strace intercepts and records system calls (file operations, network calls, memory allocation) made by a process. Usage: strace -p PID (attach to running process) or strace command (trace from start).

Useful flags include -e trace=network (filter network calls), -c (summary statistics), -f (follow forks), and -t (timestamps). Strace is invaluable for debugging permission issues, missing files, and understanding program behavior.

Related Terms

Tar
A utility for creating and extracting archive files that combine multiple files and directories into a single file.
SSH (Secure Shell)
A cryptographic network protocol for secure remote login and command execution over an unsecured network.
File Permissions
A security mechanism that controls who can read, write, or execute files and directories in Unix-like systems.
AppArmor
A Linux security module that restricts program capabilities using per-application profiles, simpler to configure than SELinux.
Logrotate
A utility that manages automatic rotation, compression, and removal of log files to prevent disk space exhaustion.
Linux Bridge
A software-based network switch in the Linux kernel that connects multiple network interfaces at Layer 2, enabling VM and container networking.
View All Linux Terms →