iftop is a command-line system monitor tool that produces a frequently-updated list of network connections. By default, the connections are ordered by bandwidth usage, with only the “top” bandwidth consumers shown. iftop must be run with sufficient permissions to monitor all network traffic on the interface.

Step 1. Installation.

apt-get install iftop

Step 2. Usage.

iftop is easy to use if you just want to see your current network connections and how much bandwidth is being used by each remote host.

Simply launch it from the command line, passing the -i option with the interface you want to monitor, and optionally the -B option to display values in bytes.

Some other options:

Continue Reading…

Trickle is a portable lightweight userspace bandwidth shaper. It can run in collaborative mode (together with trickled) or in stand alone mode.
Currently, trickle supports the shaping of any SOCK_STREAM (see socket(2)) connection established via the socket(2) interface. Furthermore, trickle will not work with stati-cally linked executables, nor with setuid(2) executables. trickle is highly configurable; download and upload rates can be set separately, or in an aggregate fashion.

Step 1. Installation.

apt-get install trickle

Step 2. Usage of trickle.

trickle  -d 200  apt-get upgrade

Launch apt-get upgrade limiting its  download capacity at 20o KB/s.

Continue Reading…

APT-FAST, Faster than APT-GET

Valic —  July 21, 2010 — 9 Comments

Apt-fast is a script created by Matt Parnell to increments speed of apt-get using axel.

To use it is necessary to install the download accelerator axel.

For installation of axel – light download accelerator use the following command:

apt-get install axel

Step 1. Installation of apt-fast:

Continue Reading…

Apachetop

is a curses-based utility to display information from a running copy of Apache.It is modelled after the standard ‘top’ utility, and displays information such as the requests pers second, bytes per second and the most popular URLs displayed.It must be run from a machine running Apache, as it works by processing the logfiles found in /var/log/apache.

Step 1. Install apachetop

apt-get install apachetop

Step 2. Using apachetop

By default Apachetop will use your log in /var/log/apache/access.log, but you can add a -f flag to the command and point it to wherever your apache log really is if you moved it.

If you try the following command:

Continue Reading…

Need to monitor Linux server performance?

Try these built-in command and a few add-on tools. Most Linux distributions are equipped with tons of monitoring. These tools provide metrics which can be used to get information about system activities. You can use these tools to find the possible causes of a performance problem. The commands discussed below are some of the most basic commands when it comes to system analysis and debugging server issues.
The commands shown below are the basic commands when it comes to system analysis and debugging server issues:

Continue Reading…