Quantcast
Channel: TechBytes » CentOS
Browsing all 10 articles
Browse latest View live

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 Article



Installing 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 Article

Image may be NSFW.
Clik here to view.

Install 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 Article

Image may be NSFW.
Clik here to view.

Freshclam 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 Article

How 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 Article


How 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 Article

How 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 Article

package-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 Article


How 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 Article


How 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
Browsing all 10 articles
Browse latest View live




Latest Images