2.7.6 Exercise: Tracing Processes That Are Run by a User

Create a program countprogs.d that counts and displays the number of times a user (specified by their user name) runs different programs. You can use the id -u user command to obtain the ID that corresponds to a user name.

(Estimated completion time: 10 minutes)