We shall be Gods !!!
We shall be Gods !!!
One of my flaws is that I tend to keep my ideas secret, in the strange notion that only I can pull them of and to share them will negate the future opportunities for fame and fortune. I won’t get into the excuses that stopped me from sharing what gifts, ideas and dreams that I have been brought here to share. The only thing to know is that 2015 and forward is when I will “release the Kraken” !
So about 2 months ago, I installed ChruBuntu on my Acer Chromebook and have been loving it for the most part. However there is one nagging issue and it’s the memory usage that slows the system to a crawl when visiting some rich content websites (e.g. Youtube, FB, Gmail, etc).
A normal task would be to simply kill the browser process, ie. Firefox when the system gets sluggish. However by that time, opening a terminal window and then waiting for inputs to appear on the screen was getting ridiculous. On average it would take me 2-4 minutes, before I could kill the FIrefox process.
My solution : A shell script that runs every minute and monitors the memory usage. The moment free memory drops below a certain threshold, all firefox (and Chrome) processes are executed with prejudice !!
Here is the script
————————————————————————————
#!/bin/sh
/usr/bin/free -m | grep Mem | grep -v grep | awk ‘{print $4}’ > /tmp/freem1.log
mem=$(cat /tmp/freem1.log )
lmt=”95″
#echo “memory usage is $mem\n”
if [ “$mem” -gt “$lmt” ]
then
echo “Memory usage is fine at $mem \n”
else
echo “Memory is Less than $lmt at $mem. Killing chrome and firefox\n”
ps ax | grep firefox | grep -v grep| awk ‘{print $1}’ | xargs kill -9
ps ax | grep chrome | grep -v grep| awk ‘{print $1}’ | xargs kill -9
fi
————————————————–
Sci-fi today is Science tomorrow….
Since the Iron Man arc reactor is a fictitious device, and it has no official scientific explanation in the Iron Man canon that I’m aware of, we might as well something up. Now, I’m mixing real science and fake science here. So physics nerds and comic-book nerds: Deal with it.
I am on ello with the best name
Here why people are moving off Facebook to ello.co
Interesting look into human behavior. Only issue is that it traversing Canada, which is relatively accommodating society.
I have introduced friends to #Netflix and now they are addicts. They are finding all sorts of content(e.g documentaries) that they would never had access.
Damn you Reed Hastings…..
I…. feel….dirty…
You were missed. All that I ask is that you give that credit that your CSR promissed. Still waiting for the consistency in your 4G service.
Top up ?
T-1 ? What’s that ?
Tri-Band ?
Tech Support, where are you located ? Ja ? Ba ? India ?
IT vs ICT
Made in China … wait… that’s everybody !