MP3 – Intro to User vs Kernel level programs , System Calls and Linux Process/Threads

Your goal is to modify the system call so that you can inspect N running processes in the system starting

with the init process which has the pid 1, where N is a number you specify. Display the processes in a

tree like format in depth-first-order according to their parent-child relationships, starting with the oldest

process. The display logic should be handled in your user-level program. (When you test your program,

continue to increase N until you see the process named zygote and its child processes.) The system call

you create should return a list of N running processes (if N or more processes exists), and the return value

should reflect how many actual number of processes were returned (copied back to user space)

Habilidades: Programação C, Linux, Administrador do Sistema, Ubuntu

Ver mais: tree starting, programming process, pid programming, intro to, intro programming, depth first, threads, linux kernel, kernel, linux programs, call list create, logic tree, linux call, linux test, display intro, kernel level programming, linux kernel programming, tree order program, number processes running, level programming, level number, level system processes, programming kernel space, kernel programming, parent child

Acerca do Empregador:
( 19 comentários ) Huntsville, United States

ID do Projeto: #6781576