Thursday, August 29, 2013

Configure: error: xml2-config not found. Please check your libxml2 installation

Configure: error: xml2-config not found. Please check your libxml2 installation

If you find this error in CentOS, Fedora or RHEL,  Run
# yum install libxml2-devel

If you find this error in Ubuntu or Debian, Run
# apt-get install libxml2-dev


configure: error: Please reinstall the BZip2 distribution

configure: error: Please reinstall the BZip2 distribution

If you find this error in CentOS, Fedora or RHEL, Run
# yum install bzip2-devel

If you find this error in Ubuntu or Debian, Run
# apt-get install libbz2-dev


Wednesday, July 31, 2013

Linux CPU / Memory Utilization and other Performance

Linux CPU Load

If you want to see the CPU Load details as well CPU utilization, try following command.
# top
Press q to return on command prompt. q is for quit.

or more graphical representation
# htop
Press to return on command prompt. q is for quit.

or Install sysstat & try following command :
# mpstat
You can see CPU usage in percentage using
# sar
as well as you can use
# iostat
If you want to know who is eating cpu
# ps -eo pcpu,pid,user,args | sort -k 1 -r | head -10