forked from open-education-hub/operating-systems
-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
general/drills: Add "System Process Monitoring Tool" written task as …
…exam Add Markdown file storing the question scenario and the questions Modify config.yaml to render the new task Signed-off-by: Petru-Vlad Ionescu <[email protected]>
- Loading branch information
Showing
2 changed files
with
46 additions
and
0 deletions.
There are no files selected for viewing
45 changes: 45 additions & 0 deletions
45
chapters/general/drills/tasks/system-process-monitoring-tool.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
# System Process Monitoring Tool | ||
|
||
## Scenario | ||
|
||
We want to use a continuous system process monitoring tool that is portable across multiple operating systems. | ||
The application shows the resource consumption trends (CPU, memory, disk, network) for all system processes throughout their lifespan. | ||
Information is periodically collected using specific operating system interfaces, and it's stored in a database. | ||
|
||
Answer the following questions with "True" or "False" and justify the answer. | ||
Justification should be simple, 2-3 sentences for each answer. | ||
|
||
## Questions | ||
|
||
1. The application must run in privileged mode. | ||
Answer: True | ||
|
||
1. The application must be written in the C language. | ||
Answer: False | ||
|
||
1. The application is CPU-intensive. | ||
Answer: False | ||
|
||
1. The application will have significantly higher memory consumption than other applications on the system. | ||
Answer: False | ||
|
||
1. The application requires IPC interfaces (pipes, shared memory, sockets) to interact with other applications and collect necessary monitoring information. | ||
Answer: False | ||
|
||
1. The application can function, with specific design, on both desktop and mobile systems. | ||
Answer: True | ||
|
||
1. The application can only monitor single-threaded processes. | ||
Answer: False | ||
|
||
1. The application cannot run in a virtual machine. | ||
Answer: False | ||
|
||
1. The application cannot memory-map files. | ||
Answer: False | ||
|
||
1. The application benefits from using buffer caching. | ||
Answer: True | ||
|
||
1. The application can be implemented without using synchronization primitives. | ||
Answer: True |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters