Posts

Showing posts from January, 2014

A free tool to analyze AIX and Linux performance

Image
One of the tools I use to monitor performance on IBM AIX 5.3 and Linux is NMON. Using nmon, you can monitor CPU, memory, network, disk, filesystems, NFS and Top Processes.



Install Nmon

CentOS users need to install nmon from rpmforge/repoforge repository. It is not present in Epel.

CentOs 4 :
i386     rpm -ivh http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el4.rf.i386.rpm

x86_64   rpm -ivh http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el4.rf.x86_64.rpm

CentOs5 :
i386     rpm -ivh http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el5.rf.i386.rpm

x86_64   rpm -ivh http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el5.rf.x86_64.rpm

CnetOs6 :
i686     rpm -ivh http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el6.rf.i686.rpm

x86_64   rpm -ivh http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm


sudo yum install nmon
sudo apt-get install nmon

Usage :

$ nmon
And…

Audit Your Linux Security With Lynis

Image
Installation :

CentOs/Fedora
yum install lynis

Ubuntu :
apt-get install lynis

Install from source :
Create Directory
mkdir /usr/local/lynis

cd /usr/local/lynis
wget http://cisofy.com/files/lynis-1.3.9.tar.gz
tar -xvf lynis-1.3.9.tar.gz

cd lynis-1.3.9.
./lynis

Usage :
lynis -c
































































































Thanks,
Vishal Vyas

For More : http://www.rootkit.nl/

GoAccess a Real time Web Server Log Analyzer

Image
Installation :


# yum install ncurses-devel glib2-devel GeoIP*
# cd /opt
# wget http://sourceforge.net/projects/goaccess/files/0.5/goaccess-0.5.tar.gz/download
# tar zxvf goaccess-0.5.tar.gz
# cd goaccess-0.5
# ./configure
#  make
# make install


To generate full statistics we can run GoAccess as:
 # goaccess -f /var/log/httpd/access_log -a














Select a log format and press F10















To generate an HTML report:
#goaccess -f  /var/log/httpd/access_log -a > report.html

To generate a CSV file:
# goaccess -f access.log -o csv > report.csv


Thanks,
Vishal Vyas

For more information and usage please visit http://goaccess.prosoftcorp.com/