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@