Mohinish's Blog

Rants from a technologically confused mind !!

http://techcrunch.com/2013/04/12/10000-hours-and-the-difference-between-entrepreneurial-success-and-failure/

leave a comment »

Written by rootedlabs

April 14, 2013 at 7:10 pm

Posted in Uncategorized

Nice little tricks: Find out processes that are using up all the RAM.

leave a comment »


Looked up stack over flow and found the following answer:

http://superuser.com/questions/398862/linux-find-out-what-process-is-using-all-the-ram

“On Linux in the top process you can press < key to shift the output display sort left. By default it is sorted by the %CPU so if you press the key 4 times you will sort it by VIRT which is virtual memory size giving you your answer.

Another way to do this is:

ps -e -o pid,vsz,comm= | sort -n -k 2

should give you and output sorted by processes virtual size."

Written by rootedlabs

March 1, 2013 at 6:53 pm

Posted in Linux

2012 in review

leave a comment »


The WordPress.com stats helper monkeys prepared a 2012 annual report for this blog.

Here’s an excerpt:

600 people reached the top of Mt. Everest in 2012. This blog got about 12,000 views in 2012. If every person who reached the top of Mt. Everest viewed this blog, it would have taken 20 years to get that many views.

Click here to see the complete report.

Written by rootedlabs

January 2, 2013 at 7:28 am

Posted in Uncategorized

Awesome read: Visual Guide to Nosql Systems

Written by rootedlabs

December 19, 2011 at 10:10 pm

Posted in Miscellaneous

A Comparison of java.net.URLConnection and HTTPClient

Written by rootedlabs

November 30, 2011 at 12:27 am

Posted in Java

Progress Listeners for your firefox plugin !!


Following are some sample code snippets and links to make use of to write awesome firefox plugins:

Progress Listeners allow extensions to be notified of events associated with documents loading in the browser and with tab switching events. Progress listeners implement the nsIWebProgressListener interface.

https://developer.mozilla.org/en/Code_snippets/Progress_Listeners

Written by rootedlabs

October 13, 2011 at 6:37 pm

Posted in Java

Good Read: Producer Consumer Example


Reference:

http://www.cin.ufpe.br/~java/docs/tutorial/essential/threads/synchronization.html

Gives an example of Producer Consumer using java threads and synchronization and then via lock from the concurrency package

Written by rootedlabs

September 26, 2011 at 10:52 pm

Posted in Java

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: