Category Archives: #ITNinjaSkills

Using…too …much memory ……..

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

————————————————–

Fixed a server with soldering iron

Some time ago, I was hired to try and revive a server that died.  It was an old Dell server that running as a Windows Domain Controller.

This was the boot up screen.

23f452db3812fbb59d2e9fdb944dfefd

 

After a lot of research, I discovered in a forum that the specific SCSI card was prone to bulging capacitors.  Obviously the dust doesn’t help.

24187f518620dd0490379438e059a2bc

5f87f20d73f19f51a906a04b11dcd67a

c01f48f50ae89a2b4d8ab0a424977a10

 

So being the true geek that I am, I went searching through my pile and found the specific replacement capacitors and heated up my soldering iron.

fixed_card

 

End results …… happy customer !fixed_card_2

Tools of the trade – Mobile professional

With over 10 years of experience as an IT professional who moves around, I have had my share of tools to allow me to increase my productivity. Here is a snapshot of what I use now. And like everything in my field, it changes.

* Items are sensitive items. Ask me directly if you want to know .

  • Hardware
    • Acer Chromebook
    • HTC M1 Android Mobile
    • AT&t Persnonal wifi Hotspot
    • Macbook Air (in the shop;  Vitamalt and Mac products don’t mix 🙁  )
  • Software
    • Remote Desktop Client
    • Teamviewer
    • SSH
    • Banking Apps*
  • Services
    • Google Apps for Work
      • Gmail
      • Drive
      • Voice
    • Skype
    • Audible
    • Spotify
    • xMarks
    • Password Manager*
    • Evernote