Find memory consumed by currently running processes on Linux?

CentOS, How to, Linux, OpenSource, Resources, Reviews, Tips and Tricks, Tutorials, Ubuntu, Virtual Private Server
I always had the question (when I am running plenty of scripts on a linux box as to what is eating up all the memory? Finding memory consumed by current running processes in your favorite linux distro. Luckily, I found a great Python utility (scriplet to be exact). (more…)
Read More

NAGIOS 3 with notifications on twitter

Experiments, How to, Linux, OpenSource, Resources, Social Networking, Tips and Tricks, Tutorials, Virtual Private Server
I have been experimenting with NAGIOS3 on Ubuntu (I will write a how-to-install on NAGIOS later) and it has served me very good in monitoring my 7 VPS from different providers in different part of the world. I have already recorded 3 hours of downtime from ThrustVPS which is a great deal for me. I now know which VPS has the best time and which ones have hiccups (e.g. my 2Host VPS gave me two unreachable notifications but the VPS was running and still reports the uptime as 4 days). Since I use twitter more, even when Im on the road, notifications via email is a bit slow for me. Luckily I found a great tutorial online to do that. (more…)
Read More

Not getting a package on Ubuntu?

How to, Resources, Reviews, Tips and Tricks, Tutorials, Ubuntu, Virtual Private Server
If you are not getting a package on Ubunu using apt-get then chances are that it has not been updated in the /etc/apt/sources.list file For example, the following should be there in the sources.list file if you are running Ubuntu 10.04 LTS (codename lucid) [code] ## main & restricted repositories deb http://us.archive.ubuntu.com/ubuntu/ lucid main restricted deb-src http://us.archive.ubuntu.com/ubuntu/ lucid main restricted deb http://security.ubuntu.com/ubuntu lucid-updates main restricted deb-src http://security.ubuntu.com/ubuntu lucid-updates main restricted deb http://security.ubuntu.com/ubuntu lucid-security main restricted deb-src http://security.ubuntu.com/ubuntu lucid-security main restricted ## universe repositories - uncomment to enable deb http://us.archive.ubuntu.com/ubuntu/ lucid universe deb-src http://us.archive.ubuntu.com/ubuntu/ lucid universe deb http://us.archive.ubuntu.com/ubuntu/ lucid-updates universe deb-src http://us.archive.ubuntu.com/ubuntu/ lucid-updates universe deb http://security.ubuntu.com/ubuntu lucid-security universe deb-src http://security.ubuntu.com/ubuntu lucid-security universe [/code]
Read More

How to install byte-unixBench on Ubuntu

How to, Resources, Tips and Tricks, Tutorials, Ubuntu
From UnixBench project homepage: UnixBench is the original BYTE UNIX benchmark suite, updated and revised by many people over the years. The purpose of UnixBench is to provide a basic indicator of the performance of a Unix-like system; hence, multiple tests are used to test various aspects of the system's performance. These test results are then compared to the scores from a baseline system to produce an index value, which is generally easier to handle than the raw scores. The entire set of index values is then combined to make an overall index for the system. Some very simple graphics tests are included to measure the 2D and 3D graphics performance of the system. Multi-CPU systems are handled. If your system has multiple CPUs, the default behaviour is to run…
Read More

Installing Lighttpd, PHP and MySQL on Ubuntu

How to, Linux, OpenSource, PHP, Tips and Tricks, Tutorials, Ubuntu, Virtual Private Server
If you are not getting a package on Ubuntu, please check to see if your /etc/apt/sources.list file is updated. This is common with most VPS providers On VPS, especially with challenging small memory limit (e.g. 64MB or 128MB) lighttpd is the best option instead of Apache. In this article I will show you how to do that. On a fresh box (which has no apache installed) type this to get lighttpd webserver installed [code]apt-get install lighttpd[/code] Now install PHP5 CGI package and PHP5 command line package [code]apt-get install php5-cgi php5-cli[/code] Edit the following file [code]nano /etc/php5/cgi/php.ini[/code] and uncomment this line [code]cgi.fix_pathinfo = 1[/code] Now enable fastcgi module [code]lighty-enable-mod fastcgi[/code] Restart Lighttpd [code]/etc/init.d/lighttpd restart[/code] You get the welcome page Lets install MySQL 5.1 server and client [code]apt-get install mysql-server mysql-client[/code] and…
Read More

Got my first Linode today

Tips and Tricks
Today at around 02am, I signed up for my very own LINODE. I have been with many different cheap providers but one way or the other, LINODE impressed me a lot. My client, at work, also signed up for LINODE at my recommendation a little while ago. Linode uses 1GB pipe networking port on a XEN VPS that gives you blazzing fast speed as if its on your local machine. I choose London data center for my VPS.
Read More