Strace Command Snippets

Published:   July 29, 2020


Strace is really nice command to see what system calls are being used, it’s primary used as debugging tools for linux system calls

Q: What is a “system call” ?

A: System calls are interface via which user-space program interact with system using linux kernel.

So kernel is core that manages the system and talks and knows about hardware. Application don’t directly talk to hardware, they talk to kernel via some exposed interfaces(open, exec etc.).

Q: What is user-space and are there any other spaces ?

A: Yes we have user-space and kernel-space

For longer and more accurate answer

Below are some samples


< Prev   Further Reading   Next >

For feedbacks: