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…

If you are useing Webmin system administration and you forget your password you will probably see how frustrating that there is not a way of remembering the password or reset it.
Webmin gives us the only possibility of authentication, but when you are not authenticated, you can not do anything. So we can not change the user password.

A solution still exist using the command line. For this, we need the installation directory, the directory configuration and the user name to reset password. If Webmin is installed in “/usr/share/webmin” and the settings are stored in “/etc/webmin” we can rewrite the admin user password by running the following command as root:

/usr/share/webmin/changepass.pl < config-dir > < login > < password >

*< config-dir >  –   is the directory where webmin settings are stored.
*< login >            –   is the username for which we want to reset password.
*< password >   -  is the new password.

Example:

Continue Reading…

Slurm – network load monitor

Valic —  July 15, 2010 — 1 Comment

Slurm started as a port of pppstatus to FreeBSD and now is a generic curses based network load monitor.

It was then transformed into a generic network load monitor that supports *BSD, Linux, HP-UX, and Solaris.

Slurm shows `realtime’ traffic statistics, has three graph modes, can monitor any network device, and uses curses to draw ascii graphics, including ascii theme support.

Step 1. Installation:

apt-get install slurm

Step 2. Slurm usage:

Continue Reading…

DarkStat is a simple Packet Sniffing Network Bandwidth monitoring Tool forDebian and other Linux distributions. DarkStat gives simple web based output with nice graphs and statistics , it will automatically refreshed. Darkstat uses a very low footprint and the memory, CPU usage.

Step 1. Installation:

apt-get install darkstat

Step 2. How to use darkstat:

1. Running darkstat for eth0 :

darkstat -i eth0

NOTE: Now darkstat will start and run in background.

Step 3. View stats:

In your Browser type the address:

Continue Reading…