1

Sometimes I want to be able to quickly kill the process that has the most intensive hard disk usage. How do I do it?

With the solutions described here I would have to open another terminal to invoke a kill. Is there a way to monitor and potentially kill with the same app?

6
  • What flavor of unix?
    – thrig
    Commented Feb 8, 2017 at 18:20
  • @thrig I'm using Debian
    – Sparkler
    Commented Feb 8, 2017 at 18:32
  • 1
    @StephenC it doesn't say there how I kill it. With the solutions there I would have to open another terminal to invoke a kill. Is there a way to monitor and potentially kill with the same app?
    – Sparkler
    Commented Feb 8, 2017 at 22:40
  • @Sparkler The Unix philosophy relies heavily on the idea of many applications that do one thing and do it really well. I personally don't know of an all-in-one application that would do that (that doesn't mean it doesn't exist). The way I would do it would be to sudo iotop -P. The leftmost column will show the process ID (PID). Once you know the PID of the process you want to kill, use kill <PID>. But I would use it with great caution.
    – Stephen C
    Commented Feb 9, 2017 at 0:43
  • What about the work carried out by that process? You don't care that you my lose something?
    – Kusalananda
    Commented Feb 9, 2017 at 12:08

0

You must log in to answer this question.

Browse other questions tagged .