Write Python functions for the following tasks. Design and implement an advanced Process Manager with an emphasis
Question:
Write Python functions for the following tasks.
Design and implement an advanced Process Manager with an emphasis on process synchronization. This Process Manager will allow users to create, manage, and synchronize processes in a multi-threaded environment. It will provide a command-line interface for process creation, management, and synchronization, and it will use system calls for process and thread control.
Process Creation:
Implement a process creation mechanism that allows users to create new processes.
Use system calls (e.g., fork, exec) for process creation.
Process Management:
Develop functionalities to list, terminate, and monitor running processes.
Allow users to view information about each process, such as its process ID (PID), parent process ID, and state.
Systems Analysis And Design
ISBN: 978-1119496489
7th Edition
Authors: Alan Dennis, Barbara Wixom, Roberta M. Roth