July 2008
« Jun   Aug »

How to run mulitple Tomcat instance on the same server

I am listing the steps to archive the goal

1, Step 1: Install the Tomcat files

2, Make directories for each instance

3. Editing the server.xml

Tomcat using 2 major port one for listening http request and another for listening shutdown port

in here i put tomcat installation on /usr/local/tomcat5.5.9 folder

now I am going […]

How to monitor SSH Login activities and FTP logins over the web

Basic Idea behind scripts is,

We can able to monitor the activities of ssh logins,any hacking attempt and ftp logins. The steps are involved in this scripts is

1, first check the log log files for whether there is any entry is present

2, If any lines present in the logs regarding the login activities, […]


RRD is the Acronym for Round Robin Database. RRD is a system to store and display time-series data (i.e. network bandwidth, machine-room temperature, server load average). It stores the data in a very compact way that will not expand over time, and it presents useful graphs by processing the data to enforce a certain data […]

Install ntop on Red Hat / CentOS Linux

ntop is a network and traffic analyzer that provides a wealth of information on various networking hosts and protocols. ntop is primarily accessed via a built-in web interface.

# cd /opt # wget Configure and Compile ntop under RHEL

You must have RRDTool installed. You also need to install libpcap, enter:

# yum install […]

Memory inspection

A, Cheking memory size and avialbale ususge

$free -m

B, What is the maximum RAM supported by the system?


dmidecode -t 16

C, How many memory slots are available for expansion? $ dmidecode -t 17 | grep Size

D, Detailed memory information

$ cat /proc/meminfo

Throttle The Disk I/O Rate: Limit disk I/O for rsync Tool

I run a backup script called /root/ which runs rsync command. However, rsync makes a lots of disk I/O and network I/O. I’d like to reduce both disk I/O and network I/O. I’ve 10Mbps server connection and 160GiB SATA hard disk. How do reduce disk I/O so that the entire system doesn’t die or become […]