How can you use Valgrind to detect memory leaks in a C/C++ binary on RHEL?
You have a compiled program and want to find uninitialized memory reads. How do you use Valgrind for this?
How do you profile heap memory usage over time using Valgrind’s Massif tool?
How do you run a simple SystemTap script to trace system calls made by a process?
How can you trace when a function inside the kernel is called using SystemTap?
You suspect CPU resource contention on a RHEL 9 system. Use vmstat to monitor CPU usage and interpret the output to determine if the system is CPU-bound.