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?

  • What flavor of unix? – thrig Feb 8 '17 at 18:20
  • @thrig I'm using Debian – Sparkler Feb 8 '17 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 Feb 8 '17 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 Feb 9 '17 at 0:43
  • What about the work carried out by that process? You don't care that you my lose something? – Kusalananda Feb 9 '17 at 12:08

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.