BitMeter OS is a free, open-source, bandwidth monitor that works on Windows, Linux and Mac OSX.
BitMeter OS keeps track of how much you use your internet/network connection, and allows you to view this information either via a web browser,
or by using the command line tools.

The Web Interface displays various graphs and charts that show how your internet/network connection has been used over time.

The Monitor pane displays a graph that updates once each second, showing you what’s happening with your connection right now:

BitMeter OS Monitor Pane
Continue Reading…

Multitail Logs on Linux

Valic —  November 22, 2010 — Leave a comment

Have you ever having to control more than a single file with your tail -f ?

I will and I just recently found out that you can run the tail command specifying the -f flag several times so you can give the command:

tail -f /var/log/messages -f /var/log/syslog

You’ll get an output like this:

==> messages <== Nov 22 00:43:07 laptop kernel: [ 61.487969] ADDRCONF(NETDEV_UP): eth0: link is not ready

==> syslog <== Nov 22 00:43:31 laptop pulseaudio[1773]: ratelimit.c: 1 events suppressed

==> messages <== Nov 22 00:43:31 laptop pulseaudio[1773]: ratelimit.c: 1 events suppressed

==> syslog <==

Nov 22 00:45:44 laptop ntpd[1118]: kernel time sync status change 6001

Monitorix is a free, open source, lightweight system monitoring tool designed to monitorize as many services as possible.

At this time it monitors from the CPU load and temperatures to the users using the system. Network devices activity, network services demand and even the devices’ interrupt activity are also monitored, and more. The current status of any corporate server with Monitorix installed can be accessed via a web browser.

Installation:

apt-get install rrdtool librrds-perl apache2 libwww-perl

Then download and extract the Monitorix package:

wget http://www.monitorix.org/monitorix-1.5.1.tar.gz
tar -zxvf monitorix-1.5.1.tar.gz

Then  execute the install script:

Continue Reading…

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…

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…

Page 2 of 41234