Linux Troubleshooting Cheatsheet: strace, htop, lsof, tcpdump, iftop & sysdig
Blog post from Sysdig
The Sysdig cheatsheet provides a comprehensive guide for Linux administrators to troubleshoot server issues using command-line tools such as strace, htop, lsof, tcpdump, and iftop, with a particular focus on using Sysdig and csysdig as alternatives or complements. It explains how these tools function, including their capabilities to trace command executions, monitor system calls, list open files, and capture network traffic, while highlighting the distinctive real-time filtering and analysis features of Sysdig. The cheatsheet also offers practical examples comparing traditional tools with Sysdig's syntax, emphasizing Sysdig's flexibility in analyzing live or captured data with advanced filtering options, and demonstrates the interactive nature of csysdig, which enhances user experience by providing live system insights.