•  

(Mini-Tutorial) Solving Problems and Identifying Bottlenecks with strace and truss

A session at LISA15

Wednesday 11th November, 2015

11:00am to 12:30pm (EST)

Description:
Strace and truss are powerful tools that are built in to all modern Linux-, BSD- and Solaris-based systems. These tools can be used as an aid to quickly identify problems. Understanding how to exploit these tools will give attendees the knowledge they need to improve their own and their organization's efficiency.

Who should attend:
Those wishing to enhance their diagnostic and troubleshooting skills, learn more about how system calls work, and discover the myriad benefits that come from exploiting programs like strace and truss should attend this tutorial. This will be a strace-focused class, but almost all of the options are equally applicable to truss, and differences between the two will be pointed out. People with Linux, BSD, Solaris, or illumos distribution responsibilities will all benefit.

Take back to work:

  • What are system calls and how do they work?
  • How does strace intercept system calls?
  • What sorts of things can and can't you learn using strace?
  • Techniques for rapidly identifying bottlenecks or areas for programmatic improvement
  • Identifying why some programs are slow or stuck
  • Applying statistical analysis techniques for visualization and understanding
  • Using an iterative approach for problem decomposition
  • How to use strace with multi-process applications like Apache

Topics include:

  • Introduction to system calls
  • High level system call histograms
  • Gathering information from running processes
  • Various arguments for strace and when to apply them
  • How to narrow in on problem areas
  • Decoding system call arguments and data structures
  • Using statistics to aid with problem diagnostics
  • How to make inferences about areas where strace data is inconclusive
  • Dealing with threaded and multi-process programs

About the speaker

This person is speaking at this event.
Doug Hughes

Infrastructure Director at D.E. Shaw Research, LLC bio from LinkedIn

Next session in Lincoln 3

2pm (Mini-Tutorial) Getting Started with Puppet by Thomas Uphill

Sign in to add slides, notes or videos to this session

Tell your friends!

When

Time 11:00am12:30pm EST

Date Wed 11th November 2015

Session Hash Tag

#lisa15

Short URL

lanyrd.com/sdtdch

View the schedule

Share

See something wrong?

Report an issue with this session