Managing Multiple Dockers with

Revolutionary way to do horizontal scaling on demand / easily / quickly.


Docker came “Virtual Machines” gone … : )


When I gone through Docker documentation felt very good and relived.
Here are the advantages of Docker quickly….
1. Foot print is very small
2. Installing Oracle take lot of time…..just download Oracle Docker File and start using Oracle.
3. Easy to role out complex applications with minimum steps to start using it.
4. Easy to use developer system for demo. Make docker file and ship to sales rep in field.
5. Easy to trouble shoot Level 1 issues. Request customer to simulate issue and send docker file back.
6. Focus on learning and dont’ worry about installing / configuring complex software

Now your turn to go through these links
What is Docker?
Docker Public Register…you can download MySQL / Oracle /Wordpress / Ubuntu…etc and use it
Docker History
Go Programming Language
Boot 2 Docker


SSH Connection Manager

PuttyCM – Putty Connection Manager is giving trouble in windows 7.

Best software found to use is :

Unix Monitoring Commands

Use this commands from Java Telnet Application and monitor any number of servers.

CPU Usage *****
>top -b -n 1 | grep java | awk ‘{sum +=$9}; END {print sum}’

Memory Usage *****
>top -b -n 1 | grep java | awk ‘{sum +=$10}; END {print sum}’

Gives total wait threads *****
>netstat -anp | grep TIME_WAIT | wc -l

Provides all states of connections change port number as required.
>netstat -an|grep “:80″|awk ‘/tcp/ {print $6}’|sort| uniq -c

===Established connections *****
>netstat -anp | grep ESTABLISHED | wc -l

===Database connections *****
>netstat -anp | grep 1521 | wc -l

=== Get diskspace utilization for given folder *****
>df | grep local | tail -1 | rev | cut -f2 -d’ ‘|rev
>df | grep apps | tail -1 | rev | cut -f2 -d’ ‘|rev

================ Check given web service is working or not ====================

curl –header ‘content-type: text/xml’ –data @test_request.xml -X POST http://server:1234/XYZWebService


Cr-48 Chrome Notebook

Cr-48 Chrome Notebook Notes


How to remove owner in Google Chrome OS

1 Remove the battery
2 Flip the Dev switch
3 Power on
4 When you see the sad face hit “ctrl” and “D”
5 Let the format process finish
6 When you get to the set up screen power down
7 Flip the switch back to regular and power on again
8 It will format the drive and go back through set up again
9 System is back to factory settings.


Question: How to go to shell in Google Chrome OS
Type help to see available commands.
It is having very limited set of commands.

How to boot with Linux from USB?



Ubuntu ….freedom from M$

Up to now I tried and struggled with Knoppix. Today installed Ubuntu 10.x on USB and started working. This is very very nice experience.

I installed Chrome first.

Initially struggled with Eenadu fonts. Please check

>sudo apt-get install ttf-telugu-fonts language-pack-te

After this restarted chrome and life is pretty cool….

Performance … Monitoring ….. : )

Performance Monitoring ……easy to do….when you have tools and time in hand….

Is there any one minute technique to solve performance issues ….? : )

Simple …..dont look at the application for a minute ……

Few tools to use ….

Knoppix on USB Drive

Successfully created USB bootable Knoppix Pen Drive.
So that I can save my personal files and settings.


My own Unix Server

Date: Jun-24-2009 Fulfilling the dream of having my own Unix Server (In Progress)

I am dreaming since long back of having my own Unix Server.
At last started working towards that goal.

1. I want to have my own Unix Server.
2. Should support installation of JBoss.
3. It is having default MySQL Database
4. Install latest Java
5. Setup Tomcat and Axis Web Services
6. Should be accessible from home computer
7. Need not to have expose this system on public network.
8. Should have internet connection
9. Should provide option to do whatever I like as root/admin
10. The total effort should be cost effective.

I will complete this soon…

Install Knoppix 5.3.1 to a Flash Drive using Windows

KNOPPIX Persistent – Saving settings to USB

Date: Sep-07-2010
Yesterday bought 8 GB flash drive for 13$ and setup Knoppix in it.
It is working fine. Hanging few times.

It took 1 YEAR, 2 MONTHS AND 14 DAYS
I am not lazy….but waited for good deal to buy the flash drive.
Looks funny….I spend money here and there….but waited long enough to buy this flash drive….
Finally story ended in peace.

Need to setup JBoss, MySQL and others…let us see…when I will complete this.

#knoppix-usb, #own-unix-server

Useful Unix Commands

Many people ask, where to start learning Linux.

Answer 1: Install Ubuntu on pen drive and boot your system. It wont disturb your existing OS. You can save files too on pen drive.

Answer 2: Search in google for free unix shells or free unix accounts.

Download Putty.exe and start accessing free unix accounts.

======== Basic Commands ========

Clear all screen

See all commands you typed before

Shows date


Man means manual
>man cal

======== CHECK LOGS ========

Prints server.log file on console while app is running
>tail -f server.log

Shows last 100 lines
>tail -100 server.log

Shows first 100 lines
>head -100 server.log

Shows one page at a time
>more server.log

Use cat for small files. This prints whole file on console
>cat server.log

======== CHECK Processes ========

To see all running process
>ps -ef

To check specific process
>ps -ef | grep process name

======== Disk, CPU, Memory Usage ========
Check Disk Space

Check CPU Usage


Direcotry space in Unix
>du -sh dir1

To get CPU Details
>cat /proc/cpuinfo

uname will help us to find given os is 32 bit or 64 bit.

>uname -m
i386 / i686 ==> 32 bit
x86_64 ==> 64bit

To get OS information
cat /proc/version

To get CPU Usage
>ps -e -o pcpu,cpu,nice,state,cputime,args -sort pcpu | sed ‘/^ 0.0 /d’

Memory Information

>cat /proc/meminfo

To do profiling

>free -m

======= VI Commands ===========
Please check any VI Commands cheat sheet

>vi file name

Takes to end of the file
>shift g

To quit
>esc :q!

To write
>esc :w!

======= Compress/Decompress Commands ===========

$tar -cvf file1.tar a.txt

$tar -xvf file1.tar


$gzip a.txt
Output: a.txt.gz

$gunzip a.txt.gz
Output: a.txt


How to change prompt to present working directory?

>export PS1=’$PWD>’

Search in google to get more command lists

#unix, #unix-commands, #unix-commands-for-day-to-day-use, #unix-commands-for-developer, #unix-commands-for-tester