Technology

Speeding up Ubuntu

Of-late my laptop has been highly responsive …. as responsive as a sloth can be… 😛 I mean you wouldn’t be expecting an Intel i5 Processor with 4GB Ram and 500GB hard disk making you go for a coffee break every time you had to build or compile your code. I am sure many of […]

Manoj Mohan
Manoj Mohan
Read

Technology

Installing CloneZilla on USB drive using Ubuntu.

Clonezilla is a software that allows you to do bare metal backup and recovery. To install Clonezilla we would need following Softwares, all of which are available freely. 7zip ( p7zip-full_9.04~dfsg.1-1_i386.deb) Tuxboot (tuxboot-linux-8 ) Clonezilla (clonezilla-live-1.2.6-40-i686.iso) Here are the steps to install CloneZilla Install 7zip required to install Tuxboot sudo dpkg -i p7zip-full_9.04~dfsg.1-1_i386.deb It would […]

Hitesh Bhatia
Hitesh Bhatia
Read

Grails

Mysql top just like we have top command in Linux

Once in my grails project i was facing the problem of freeze of server.When this happens tomcat becomes unresponsive.Later on by analyzing the thread dump we found that this problem might be due to the database and tomcat communication. So as to analyse how many connection are active at mysql end we found a query. Show processlist; […]

Anuj Aneja
Anuj Aneja
Read

Technology

Making your own custom command for a script file which can be executed from any user.

One way to execute the script file via command can be making of alias and put it in .bashrc , but this will only be available to that user. So for creating a user-defined command which can be executed from any where for any user following steps need to be followed: 1. Make a script […]

Anuj Aneja
Anuj Aneja
Read

Technology

Find v/s Locate … Optimize your search ..

A few days back, I was on a server wherein I had to find the location of a file in the file system. Naturally like most newbies, I instantly hit the ‘find’ command.  Something like [shell]sudo find / -name someFileName.ext[/shell] Naturally the command took a lot of time to find the file (Local to server relay […]

Manoj Mohan
Manoj Mohan
Read

Grails

Setting System property from command line in grails

Hi, In one of my recent grails project, i needed to set System property from command line while running the grails application. I looked for it and found a simple solution to do so and found it worth sharing. Suppose we want to set any property, say app.property=”propertyValue”, then the command to set the property […]

Vishal Sahu
Vishal Sahu
Read

Technology

Organizing “.bashrc”

I have been working on Linux for almost 3 years now and have grown to love it a lot. As with every linux user, the .bashrc file becomes cumbersome and difficult to maintain over a period of time, since there are a lot of project specific aliases, paths, etc So after working on a couple […]

Technology

Mounting an EBS Volume to an Instance and Soft Linking a Growing Directory to it

We were having a crisis on our project the other day. The VPS on which we were running our application had some issues with kernel and Tomcat, for that matter, any java process was running unpredictably. Tomcat would explode the WAR file once in a while and even if it did, it would just pause […]

Technology

byobu: screen sessions in Linux

This post is just to talk about Screen Sessions in Linux (esp. ubuntu) using command “byobu”.   What is Byobu? Byobu is a Japanese term for decorative, multi-panel screens. As an open source project, Byobu is an elegant enhancement of plain GNU Screen.   Where can it be used? You SSH to some remote machine […]

Salil
Salil
Read