Question: (10 points) 'strace' is a Linux utility which monitors a program and prints out the details of the system calls made by the program Write

(10 points) 'strace' is a Linux utility which monitors a program and prints out the details of the system calls made by the program Write a "Hello, world!" program in C using C's printf() function and use the 'strace' command to see all system calls made by the program. (See the man page for strace details) (a) (5 points) Produce your result of strace on 'Hello World' program. (attach print out) (b) (5 points) You should see a lot of system calls that are not directly related to printing out the "Hello, world!" string. Figure out (or guess) what these system calls are, what purposes these calls are serving, and who is calling these functions dedicated to system calls. You can specify section 2 by, for example, "$ man 2 write", which should show the man page of write) system call instead of the write command. (10 points) 'strace' is a Linux utility which monitors a program and prints out the details of the system calls made by the program Write a "Hello, world!" program in C using C's printf() function and use the 'strace' command to see all system calls made by the program. (See the man page for strace details) (a) (5 points) Produce your result of strace on 'Hello World' program. (attach print out) (b) (5 points) You should see a lot of system calls that are not directly related to printing out the "Hello, world!" string. Figure out (or guess) what these system calls are, what purposes these calls are serving, and who is calling these functions dedicated to system calls. You can specify section 2 by, for example, "$ man 2 write", which should show the man page of write) system call instead of the write command
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
