Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible monitoring at real time all the syscall under linux?

For example, in a linux-machine there are so many process. Each one is able to use a syscall, but usually few are used. Well, there is a tool or a manner to show when a syscall is used and which is the process associated?

like image 798
user840718 Avatar asked Oct 22 '25 01:10

user840718


1 Answers

You can use various tools, like strace, ltrace and many other, although I'm not sure you want to trace all processes at the same time.

Normally you'd attach to one process of interest and follow its system calls.

like image 69
favoretti Avatar answered Oct 23 '25 16:10

favoretti



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!