Ch11 Managing Processes Exam

  1. A popular program for monitoring running processes in real-time is:

    • watcher
    • ghost
    • mon
    • top
  2. A signal is:

    • A technique to send data to a process
    • A command argument
    • A technique to tell a process to take some sort of action
    • A command option
  3. If you want a background process to keep running after log out, you can use:

    • nofg
    • nohup
    • bg
    • nokill
  4. In order to run a command called cmd1 in the background, you would type:

    • cmd1&
    • start -b cmd1
    • cmd1@
    • bg cmd1
  5. Placing a ___ character at the end of the command line will put the command in the background.

    • B
    • !
    • &
    • ?
  6. The uptime command prints a statistic representing the system load over what three time spans?

    (choose three)

    • Last minute
    • Last thirty minutes
    • Last fifteen minutes
    • Last ten minutes
    • Last hour
    • Last five minutes
  7. The _____ command will list the commands that are running in your terminal.

    • proc
    • ps
    • ls
    • list
  8. The key press combination that will request a process to stop is:

    • CTRL+D
    • CTRL+C
    • CTRL+Z
    • CTRL+P
  9. The key press combination that will request a running process terminate:

    • CTRL+P
    • CTRL+D
    • CTRL+Z
    • CTRL+C
  10. The main advantage of running a process in the background is:

    • The process will automatically run at a low priority
    • You can be assured that the process will not terminate early
    • The process will be logged
    • You can continue to use the shell that started the process
  11. To change the niceness value of an existing process, you can use the _____ command.

    • renice
    • reset
    • set
    • nice
  12. To execute a command called cmd1 as a foreground process, you would type:

    • cmd1
    • fg cmd1
    • foreground cmd1
    • cmd1 &
  13. To execute a command with the default priority, which value do you pass to the nice command?

    • -20
    • 19
    • 0
    • 20
  14. To execute a command with the highest possible priority, which value do you pass to the nice command?

    • 0
    • 19
    • 20
    • -20
  15. To execute a command with the lowest possible priority, which value do you pass to the nice command?

    • 19
    • 0
    • 20
    • -20
  16. To see how long the system has been running, you can use the _____ command.

    • uptime
    • ps
    • nice
    • free
  17. To see the list of background processes that you have started in your shell, you can run:

    • process
    • list
    • jobs
    • work
  18. To send a paused process to the background, use the _____ command.

    • fg
    • jobs
    • ps
    • bg
  19. To send a signal to a set of processes with the same name, you can run:

    • grpkill
    • allkill
    • killall
    • sigkill
  20. To set a priority value lower than 0, you must log in as which user?

    • No user can specify a priority lower than 0
    • Any user account
    • The root user
    • The admin user
  21. To view all processes on the system, you can execute:

    • ps
    • ps -e
    • ps --all
    • ps -f
  22. To view statistics on memory availability, you can use:

    • stat
    • uname
    • free
    • mem
  23. To view system memory usage, you can use the _____ command.

    • uptime
    • nice
    • free
    • ps
  24. Using the kill command always terminates processes.

    True or False?

    • True
    • False
  25. What character do you place between commands to execute multiple commands on a single command line?

    • ;
    • ~
    • &
    • :
  26. What command can be used as a prefix to another command to run it at an altered priority?

    • nice
    • pri
    • low
    • chpr
  27. What command can be used to alter the priority of a running process?

    • relow
    • renice
    • repri
    • chpr
  28. What option to the kill command will list the signals for the system?

    (choose one)

    • -9
    • -list
    • -l
    • -r
  29. Which of the following is not a valid way to send the force kill signal to a process?

    • kill -FORCE PID
    • kill -SIGKILL PID
    • kill -KILL PID
    • kill -9 PID
  30. Which command will find all processes owned by user fred?

    • pgrep -i | fred
    • ps fred | grep -1 process
    • pgrep -u fred -l
    • ps -a | user fred
  31. The watch command’s default interval is?

    • 10 minutes
    • 12 tics
    • 2 seconds
    • none, the user must specify time
  32. The screen command can detach and re-attach terminal sessions.

    True or False?

    • True
    • False
  33. The proper command to list current tmux sessions is?

    • tmux -a
    • tmux list-sessions
    • tmux -ls 
    • tmux -l
Subscribe
Notify of
guest
0 Comments
Newest
Oldest Most Voted
Inline Feedbacks
View all comments