Find memory consumed by currently running processes on Linux?
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....
View ArticleInstalling EPEL repo
Installing EPEL repo in CentOS is simple, if you do not know what EPEL is, read more about it here. rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-4.noarch.rpm To configure...
View ArticleInstall htop
htop - an alternative to linux top htop is a sleek utility that allows you to interactively view processes running in a linux box. I can safely say its a good alternate to ‘top’ To install htop just...
View ArticleFreshclam daemon not running
Normally, I have two things on every Linux box so that I know whats going on NAGIOS monitoring (nrpe) Logwatch Today, I got something in my logwatch email and it was strange because just the other day,...
View ArticleHow to disable SELinux
SELINUX is a security feature on CentOS but some software such as SolusVM will require that SELINUX be disabled Installation log : /tmp/install.log Add this slave to your SolusVM master using the...
View ArticleHow to change time and/or timezone in CentOS
Generically, I use this Change directory to /etc [root@testbed ~]# cd /etc Now create a symbolic link (aka symlink) to the timezone e.g. Asia/Karachi (for Pakistan standard time) [root@testbed etc]# ln...
View ArticleHow to configure repos to not overwrite base packages?
The greatest fear with adding additional and especially third party repos such as EPEL (we did a blog post on how to install EPEL earlier) is that it MAY overwrite base packages and bring the system to...
View Articlepackage-cleanup: command not found
I tried to do package-cleanup and found this root@ns1 [~]# package-cleanup --problems -bash: package-cleanup: command not found If I was on Ubuntu, I would have done “apt-get install package-cleanup”...
View ArticleHow to find specific files and send alerts
Maintaining a shared hosting server is a full time job but tools and proper checks and balances can help make this burden lot less. I manage a shared hosting server for one of my friends and numerous...
View ArticleHow to find zombie processes on linux
My NAGIOS monitor alerted me that of my dedicated server has 10 Zombie processes, how to find Zombie processes via command line on Linux especially CentOS? ps aux | awk '{ print $8 " " $2 }' | grep -w...
View Article
More Pages to Explore .....