Jul 2, 2012
Java leapsec issue causes high CPU
Seems like a bug is going around caused by leapsec in Java that causes high CPU. There is a simple fix for the issue. For CentOS / RHEL 5 & 6 /etc/init.d/ntpd stop; date; date `date +”%m%d%H%M%C%y.%S”`; date Wait for the CPU to go down and then restart ntpd /etc/init.d/ntpd start After doing this, see if the cpu usage falls down using top or your tool of choice. If not, restart of the ntpd... read more
Feb 25, 2012
Find Large Files in Linux
Recently had the need to find large files in Linux to clear up some space. With the use of the find, print and awk commands I was able to find files bigger than 50 MB. You can change the values to suit your needs. To find all files over 50,000KB (50MB+) in size and display their names, along with size, use following syntax: find {/path/to/directory/} -type f -size +{size-in-kb}k -exec ls -lh {} \; | awk... read more
Oct 1, 2011
Configure SNMP for RHEL 6
SNMP is a very powerful and useful tool to add to your Linux system. It is great for sending alerts to different monitoring systems like Nagios and many other great products. But first it needs to be installed and configured before you can put this under rated tool to work. Install SNMP using yum, you will need net-snmp-utils, net-snmp, net-snmp-libs. $ sudo yum install –y net-snmp-utils net-snmp... read more
Oct 1, 2011