View & Kill – Processes in Linux

Better to kill one bad process than let the whole system crash. Catch the hogs and let your uptimes grow!

Viewing Processes

$ top

Processor, Memory, Quit

$ ps waux

$ ps waux|grep -i firefox

$ pstree

$ pstree -phU|less –raw

Killing Processes

$ kill 2391

$ kill -9 2309

$ killall fire[tab]

$ killall -9 firefox-bin

Don’t killall with sudo, or at least think first. Could kill processes from all users.

Related Commands

Core commands, like ps and kill, have survived the test of time. You can expect to see them in any Linux.

Here are some commands that are newer, but interesting nevertheless.

$ xkill

$ htop

$ powertop

$ free -m

Don’t blindly accept every tweaking suggestion from powertop, your you risk breaking your OS install.

Posted in Uncategorized | Tagged , , , | Leave a comment

Leave a Reply

Your email address will not be published. Required fields are marked *

*

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

  • Picks

  • Boxing Clock for AndroidOcton8 Diving T-ShirtsShaking Tower Panda Android GameLearn Chinese with Android
  • Student projects