How to configure offline yum repository using DVD and HTTP or Apache server over the network in RHEL / CentOS 7

How to configure offline yum repository using DVD and HTTP or Apache server over the network in RHEL / CentOS 7

In this article I will show you the steps to configure an offline yum repository in your network using http server IMPORTANT NOTE: I had already written an aticle to use yum with apache but that was tested and validated with RHEL 5 and 6, and with RHEL 7 some httpd configuration option have changed. … Read more

How to check the swap memory usage by a process in Linux

How to check the swap memory usage by a process in Linux

Earlier I had written an article on swappiness and different commands to check memory usage per process on Linux here I will show you some of the methods which can be used to check the swap memory utilisation. Below article is tested and validated on Red Hat Enterprise Linux 7. IMPORTANT NOTE:  There is no way … Read more

How to measure power consumption in watts using powerstat in Linux with examples

In my last article I had explained the various CPU c-states in detail and how you can disable the CPU states, and different commands which can show you the memory usage per process in Linux. These can help you troubleshoot performance related issues. In this article I will show the usage of powerstat to measure … Read more

What are the CPU c-states? How to check and monitor the CPU c-state usage in Linux per CPU and core?

What are the CPU c-states? How to check and monitor the CPU c-state usage in Linux per CPU and core?

Below list of topics are covered in this article What are C-states, cstates, or C-modes? How can I disable processor sleep states? How to read and interpret /dev/cpu_dma_latency? What is the maximum C-state allowed for my CPU? How do I check the existing latency value for different C-states? How to check and monitor the CPU … Read more

How to send log messages using rsyslog to remote server using tcp and udp ports (remote logging) in Red Hat Linux

In my last article I had shared the steps to redirect specific log messages to a different log file using rsyslog and to secure your ssh service using fail2ban on Linux. In this article I will share the steps to forward the system log to remote server using both TCP and UDP ports so you can … Read more