Of-late my laptop has been highly responsive .... as responsive as a sloth can be... :P 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 you must have experienced some form of lag with your 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...
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; ...
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 file which has the set of commands to be executed and...
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 not being helpful...
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 in grails...
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 of projects, I started maintaining separate...
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 at "Deploying app.war" forever. After spending...
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 and Run some...
Taking MYSQL dump is usual requirement in my project . And Since some of the tables in project are huge so often I have to take dumps of selected tables and often have to ignore some tables. since we had to do it frequently in our project so I created a script which does following for me. Takes database dump Takes dump of...
In recent week, i got to know about really good way of collaborating the screen in a linux. Let us take a scenario, Suppose User having name 'B' on the 5th floor of the company is having a problem/difficulty related to code execution, unable to figure out what to do?, and then he call the fellow guy who can help him out, but he...
Rcconf is a tool that we recently discovered. This tool allows you to manage your start-up applications easily. We found this tool when me and my colleague Aman were trying to identify the processes that we never use but they do eat up a lot of our system resources. We found this link very useful: ...