Friday, August 24, 2012

My experience with USCIS

Waiting from long enough time

Wednesday, August 22, 2012

Communication Link Failour


  1. telnet localhost 3306
  2. view /etc/mysql/my.cof file and view if bind-address 127.0.0.1 is commented out or not.
  3. commenting out "skip-networking"
  4. change "wait_timeout" and "interactive_timeout"
  5. check Operating System proxy settings
  6. change connection string
dbName = "my_database";dbUserName = "root";dbPassword = "";String connectionString = "jdbc:mysql://localhost/" + dbName + "?user=" + dbUserName + "&password=" + dbPassword + "&useUnicode=true&characterEncoding=UTF-8";

Tuesday, August 21, 2012

View child thread of a parent in linux


  1. View child thread for a specific thread via pid
ps -o nlwp

Unix Commands

To view Disk space available on Ubuntu

Use : df -kh

To View Folder space

Use : du -h

To view file size in folder

Use : ls -l -h

To transfer file from one server to other server

Use scp

To login on server

Use : ssh username@




Thursday, August 16, 2012

Perl modules installation on terminal

Perl Installation with their module on ubuntu


cpan App::cpanminus
sudo perl -MCPAN -e 'install XML::Simple'sudo perl -MCPAN -e 'install Text::CSV_XS'sudo perl -MCPAN -e 'install Time::Local'  sudo perl -MCPAN -e 'install XML::Writer'sudo perl -MCPAN -e 'install XML::Writer::String'sudo perl -MCPAN -e 'install Net::Stomp'sudo perl -MCPAN -e 'install XML::Simple'sudo perl -MCPAN -e 'install Config::Properties' 
or 
cpanm Module::Name

Perl Installation with their module on ubuntu

Perl Installation with their module on ubuntu


cpan App::cpanminus

Thursday, August 9, 2012

Memcached Volume Optimization

Memcached Volume Optimization

  1. Starting Parameter: memcached -m 16000 -l 192.168.10.242 -p 11211 -I 1k