Sometimes server might be responding slowly and need to find which process is consuming high cpu and memory to fix it. Below commands will helpful to find the top 10 cpu and memory usage processes.
Top 10 CPU Usage processes :
$ ps -eo...
What is Ansible ?
Ansible is an open source software which we can use for configuration management, application deployment & software provisionig across multiples systems. its run on a unix operating system but can do the configuration...
In below, I have explained with examples to register in Red Hat Portal and enable the repositories using subscription manager.
To Register server :
[root@rhel7 ~]# subscription-manager register
Registering to: subscription.rhsm.redhat.com:443/subscription
Username:...
The CentOS Project is a community-driven free software effort focused on delivering a robust open source ecosystem. For users, we offer a consistent manageable platform that suits a wide variety of deployments. For open source communities,...
1. To redirect standard output to a file
This will redirect the content of /etc/issue to a file /tmp/issue.txt
# cat /etc/issue > /tmp/issue.txt
To redirect the output to a file which is already having a content and don’t want...
1. Download the latest IBM Advanced setup utility (ASU) 64 bit rpm from the following link
https://support.podc.sl.edst.ibm.com/support/home/docdisplay?lndocid=TOOL-ASU
I have already downloaded the latest utility and placed in the following...
How to prevent the computer from suspension when laptop lid closed
If you close the lid, the computer will get into suspension mode in order to save the power. This can be avoided by making changes in config file /etc/systemd/logind.conf...
You might have allocated more space to lvm partition for future use but now its not required hence you are planning to reduce the LVM partition and to remove the disk from the server. This can be done only offline so you need to get downtime...
Network bonding is aggregation of multiple network interfaces to single interface for load balancing, high availability, fault tolerance etc., This can be achieved by using the kernel module bonding. By default this will not loaded which...
An abbreviation of SAR is System Activity Reporter which is an important tool for system administrators to get the performance overview of the server at different point of time.
Using sar commaned, we can know the cpu, memory , disk etc,...