Strace Command Snippets


Published:   July 29, 2020

Tags:

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 https://unix.stackexchange.com/a/368313

Below are some samples

Reference:


< Prev   Further Reading   Next >

For feedbacks via email: email@murarisumit.in