Operating Systems and You: Process Management Quiz
Which of the following methods can be used to get information on processes that are running in Windows?
- From the CLI, use the tasklist command - From the PowerShell prompt, use the Get-Process commandlet - Using Windows Task Manager (taskmgr.exe)
Which of the following statements are true about SIGINT?
- It is an interrupt signal that can be sent to a process that is running - It can be sent at the CLI by pressing the CTRL + C keys - It is a signal that exists in both Windows and Linux
What does the top command do in Linux?
- It lists the top processes that are using the most resources on a machine - It provides a snapshot of total tasks currently running or idling - It includes information on process CPU and memory usage
Which of the following methods will provide information on processes that are running in Linux?
- List the contents of the /proc directory
Which of the following statements are true about child processes in Windows?
- A child process can be terminated by running the taskkill / pid command in the CLI - A child process inherits environment variables and settings from its parent - A child process can be terminated by clicking on the X button in the top right corner of the application
Which of the following options are available in Process Explorer after right - clicking a running process in the top window pane?
- Restart - Kill Process - Suspend
Which of the following tools or commands can be used to monitor resources in Windows?
- The PowerShell Get-Process commandlet - Resource Monitoring tool
What are the two most common ways to terminate a process in Linux at the CLI?
- Use the kill pidcommand - Use the kill -KILL pidcommand - Use the terminate process command
What happens to background apps while a foreground app is in use on iOS and Android?
The OS will suspend background mobile apps
In the following Linux command, which is the parent process and which is the child? $ less /etc/myfile | grep Hello
The parent is less and the child is grep