O'Reilly logo

Troubleshooting Ruby Processes: Leveraging System Tools when the Usual Ruby Tricks Stop Working by Philippe Hanrigou

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

Section #4. strace

What Is It?

strace is a tool that traces all system calls and signals.6 This refers to all data flow (inputs and outputs) across the user/kernel boundary. If this sounds like Greek to you, think of strace as a spy that tells you everything your process asks your operating system to do and what the operating system triggers in your process. As soon as you start playing with strace, you realize that your process is interacting with the OS much more than you think.

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