O'Reilly logo

Problem-solving in High Performance Computing by Igor Ljubuncic

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 5

Getting geeky – tracing and debugging applications

Abstract

In this chapter, we will be doing some proper investigative work, like the best of private investigators. We will learn how to trace programs and the kernel, and finally use an application debugger to walk through the execution of a code all the way to assembly instructions.

Keywords

strace
ltrace
lsof
vmstat
iostat
perf
gdb

Working with strace and ltrace

Sometimes, the process of investigating problems by reading logs and examining the overall behavior of the system will not yield fruitful results. The root cause of the issue affecting your customer base or your applications will remain a mystery. At this stage, you will need to dig in deeper, and this means analyzing what ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required