conky script used to monitor server status remotely.

2012-01-12 2 min read Bash Fedora
[A typical Conky look][1]
Image via Wikipedia

I was looking for something to monitor few details on the server. I thought about quite a lot of applications, some open source and some scripts developed in house. But my requirements were quite petty and the scripts and applications were quite heavy. So, I thought why not conky :).

 

So, with some quick work on conky script, I was able to get what I wanted and here it is for all of you.

Continue reading

BASH Script Performace

2012-01-06 2 min read Bash Learning

Today we will look at some bash code snippests and the performance issues. Lets first look at the problem and the implemented solution:

Problem: We needed to log the output of the ps command for all the process’s. This was required to be done on per minute basis and the output was required in comma separated files. So, here is what was implemented:

pslog=`ps -e -opid,ppid,user,nlwp,pmem,vsz,rss,s,time,stime,pri,nice,pcp:u,args|grep -v PID|sort -r -k 13,13`
        OLD_IFS=$IFS
        IFS=$'\n'
        logarr=( $pslog )
        for LOGLINE in ${logarr[@]}
        do
                LOGLINE=`echo $LOGLINE|awk '{OFS=",";print $1,$2,$3,$4,$5,$6,$7,:$8,$9,$10,$11,$12,$13,$14}'`
                echo $LOGLINE >> output
        done
        IFS=$OLD_IFS

This was working well and there were no issues. But suddenly we started seeing issues with the reported CPU usages. We would see that whenever this script was running the CPU usage was high, specially if there were too many process’s/thread’s on the system during that time.  This code was definitely part of a very large code base, and at this point of time we did not know what was causing the issues.

Continue reading

30 Best Windows Mobile Applications

2011-12-28 2 min read Uncategorized

30 Best Windows Mobile Applications

33 Comments »
Share inShare

The main reason why people still love window mobile is because of its freeware applications and excellent add-ons. Windows Mobile users carry great access to third party applications than any other Mobile Operating system in the market. At the same time it might be confusing for the user to settle on which window mobile apps to download. So we at honeytechblog did a search and have compiled a list of Top 30 Best window mobile applications. These applications will ensure following features such as networking, themes, tools for tweak, music players, newsreaders, Internet browser, document manager and much more.

Continue reading

Blogging from N900

2011-12-19 1 min read Maemo N900
[English: Nokia N900 communicator/internet tabl...][1]
Image via Wikipedia

Can´t get simpler than this. Just install the application called wordpress in your N900, and punch in the details for your blog along with your admin login and password and you have a amazing wordpress client. You can even add photos like the one below:

N900 and its applications keep me amazed and happy 🙂

Enhanced by Zemanta
Older posts Newer posts