ERROR 2006 (HY000) at line 257: MySQL server has gone away When doing a mysql dump to the database, if you get this error, it means that you have a connection timeout on the database or your restore is doing a chunk of data that exceeds the max allowed packets. Solution: If you are on… Continue reading ERROR 2006 (HY000) at line 257: MySQL server has gone away
Find the database size of each database Run the below query at the mysql prompt SELECT table_schema “Data Base Name”, sum( data_length + index_length ) / 1024 / 1024 “Data Base Size in MB”, sum( data_free )/ 1024 / 1024 “Free Space in MB” FROM information_schema.TABLES GROUP BY table_schema ;
Find the process Id of the java process In linux. Go to command line. ps aux | grep ‘java’ To generate the dump. jmap -dump:format=b,file=/tmp/heapdump-001.hprof <process id> $ jmap -dump:format=b,file=/tmp/heapdump-001.hprof 31467 Dumping heap to /tmp/heapdump-001.hprof … Heap dump file created The dump file wil be generated at /tmp/heapdump-001.hprof. $ ls -al… Continue reading How to generate JVM Heap dump
Nowadays we start hearing the word DLNA in mobile specifications. It is a standard similar to uPnP which allows interoperability between devices supporting it. DLNA will require you to install a software on your PC to make your NIC or Wifi to be compatible. More details regarding the FAQ can be found from the official… Continue reading DLNA- Digital Living Network Alliance
If you are using Firefox then get this plugin Download Helper It can download media like Audio, Video, Images, Flash & others using your download manager or Firefox directly with a single click. It works on Youtube or every other site with these content.
advanced use of grep
Booting up linux.. What is behind the scenes… ?
Here is how you can generate a mysql dump compressed file on the fly with a single command.
How do I configure an opendns ip to be used as my dns server…
Ever wanted to focus the cursor on the text area or the box like google home page do ?