Showing posts with label process. Show all posts
Showing posts with label process. Show all posts

Thursday, August 13, 2009

Display network bandwidth with iftop

Iftop is a niffty little tool to help in helping to monitor Network Bandwith. Similar to top, it display the local and external host(s) that are responsible for the most traffic activities.

There are some basic requirement first. Make sure you install
  1. libpcap and libpcap-devel
  2. ncurses and ncurses-devel

To install iftop on Linux Mint,
# apt-get install iftop

To install iftop on CentOS

# yum install iftop

(Make sure you have EPEL repository configured)

To run iftop, simply run
# iftop -i eth0

Saturday, July 4, 2009

Using Xrestop to troubleshoot X applications


Xrestop is a lesser known "top-like" tool to query information on the clients connected to X11. It shows the X clients programs that are using the most resources organised by pixmap memory usage. In addition, it provides administrators to quickly locate problematic X Windows Application, but not the tool to kill it.

Friday, July 3, 2009

Using htop to influence processes directly


htop is one of my favourite tool to influence process directly. Htop menu does have the feel of Midnight Commander.

Some of the key features of htop is the ability to do
  1. sorting (F6)
  2. Increase priority of a process or job (F7)
  3. Reduce priority of a process or job (F8)

Wednesday, January 14, 2009

Killing Zombie Process

Use the command

# ps aux awk '{ print $8 " " $2 }' grep -w Z
Or
# top

For more information, see link Killing Zombie Process