Creating, monitoring and killing processes
Lesson 5 of 8 in objective 103. GNU and Unix commands, part of LPIC-1 Exam 101-500.
- Objective
- 103. GNU and Unix commands
- Share of the exam
- 43.33% (the whole objective)
- Questions in this lesson
- 12
- Signed for by a person
- 0
Partly checked. None of the 12 questions here has been read against the cited source by a person. 12 questions have been checked against their cited clause by an automated pass — which is not the same thing, and is not a signature.
Only questions a person has signed for are used in mock exams here. That is the whole difference between the two kinds of checking above.
Questions in this lesson
- You run `kill 3120` with no other options. Which signal does the process receive? machine-checked
- You know only the program name and want to terminate every running process called `httpd`. Which command does that in one step? machine-checked
- You edited a daemon's configuration file and want the running daemon to reread it without restarting. Which signal is conventionally used? machine-checked
- You press Ctrl+Z while a long-running command occupies the foreground of your bash shell. What happens? machine-checked
- A backup script must keep running after you close your SSH session. You have not started it yet. Which invocation is designed for exactly this? machine-checked
- Which command re-runs `df -h` every 5 seconds and redraws the result in place? machine-checked
- In the standard `uptime` output, what are the three numbers reported at the end of the line? machine-checked
- Which TWO commands send a signal to processes selected by their NAME rather than by a numeric PID? machine-checked
- Which THREE approaches keep a long-running command alive after you disconnect an SSH session? machine-checked
- A process with PID 4021 is ignoring SIGTERM. Type the complete command that forcibly terminates it with the signal that cannot be caught or ignored. machine-checked
- Type the command, including the option, that reports total, used and free memory with the units scaled to human-readable sizes such as Gi and Mi. machine-checked
- Type the ps command, using the traditional BSD-style options and no leading dash, that lists every process on the system in the user-oriented format including processes without a controlling terminal. machine-checked
Drill this lesson
A lesson is one sitting: the trainer draws a short run from these questions alone and spaces the ones you get wrong.
Practise Creating, monitoring and killing processes
The rest of objective 103
- Working on the command line
- Filtering text streams
- Basic file management
- Streams, pipes and redirection
- Creating, monitoring and killing processes — you are here
- Process execution priorities
- Searching text with regular expressions
- Editing files from the terminal