nerdexam
CompTIA

XK0-004 · Question #79

A Linux system is running normally when the systems administrator receives an alert that one application spawned many processes. The application is consuming a lot of memory, and it will soon cause th

The correct answer is D. pkill -9 application. The pkill application allows you to send Linux signals to applications based on their process name and allows you to specify the process name using wildcard characters. This combination can come in handy if you need to stop multiple applications spawned from a single parent appli

System Management

Question

A Linux system is running normally when the systems administrator receives an alert that one application spawned many processes. The application is consuming a lot of memory, and it will soon cause the machine to become unresponsive. Which of the following commands will stop each application process?

Options

  • Akill 'pidof application'
  • Bkillall application
  • Ckill -9 'ps -aux | grep application'
  • Dpkill -9 application

How the community answered

(38 responses)
  • A
    3% (1)
  • B
    8% (3)
  • C
    3% (1)
  • D
    87% (33)

Explanation

The pkill application allows you to send Linux signals to applications based on their process name and allows you to specify the process name using wildcard characters. This combination can come in handy if you need to stop multiple applications spawned from a single parent application.

Topics

#pkill#killall#process management#kill signals

Community Discussion

No community discussion yet for this question.

Full XK0-004 Practice