How to monitor network bandwidth in Linux using netperf
We have many tools available online which can help us monitor network bandwidth usage within a network between differnt Linux machines.In this article I will show how netperf can be used to monitor...
View ArticleHow to load modules from kernel during boot in Linux
Recently I ran into a situation where my kernel was not loading vmxnet3 module during startup of the system hence I had to change the network card module from default vmxnet3 to E1000 on my VMware...
View ArticleWhy is Linux considered more safer than windows or any other OS ?
Now we hear many times from most of the people around us claiming that Linux is much more secure than Windows or Linux is very secure.But what are the things in Linux that makes it secure than Windows...
View ArticleHow to Remove Duplicate Rows from a Table
Use rowid pseudo column. All you have to do is to keep the latest data (i.e. highest ROWID) and remove other duplicated rows.SELECT * FROM table1 aWHERE rowid < (SELECT max(rowid) FROM table1 bWHERE...
View Articlequotacheck: Something weird happened while scanning. Error 2133571361
Errorquotacheck: Something weird happened while scanning. Error 2133571361Explanation:Other day I was attempting to enable quota on one of my vms and I observed the quotachecl failed with above...
View ArticleUnderstanding nscd daemon for hosts cache
nscd stands for Name Service Cache Daemon and is used to provide cache for common name service request. For providing hosts cache nscd daemon uses /etc/hosts file as it's database and any changes made...
View ArticleWhat is paranoia mode in nscd?
This variable can be used in nscd.conf file if you wish nscd daemon to restart itself after a provided amount of time interval. This argument is used in combination with "restart-interval"Open...
View ArticleHow to create customized bootable ISO image in RHEL/CentOS 7
For the snippets and examples used of this article I will be using Red Hat 7.3 vanilla DVD content but the same steps can be used to create a customised CentOS DVD.For the sake of this article I will...
View ArticleHow to perform interactive kickstart installation on Red Hat
Kickstart is used to perform an automated installation where no manual intervention would be needed but there are times when we want the end user to fill in some needed details for eg keyboard type,...
View ArticleHow to save %pre installation log file after installation in Red Hat 7
We intend to write multiple scripts in the %pre and %post section of the kickstart files as per our requirement but since these scripts are executed in the background it is very important that we...
View ArticleHow to forcefully stop and kill a process in Linux
There are times when a process hangs or is responding very late when you feel like killing the process. The ultimate solution is to find the process id of the respective process and kill the same but...
View ArticleHow to collect/generate "Show All" report for HP c-Class Blade Enclosures
There are multiple methods to generate "SHOW ALL" report of Onboard Administrator and Virtual Connect of a HP C-Class Enclosure.A Show All report would be the first thing requested by HPE engineers to...
View ArticleCollect Virtual Connect Support Dump of HP c-Class Blade Enclosures
In my last article I showed the steps needed to collect Onboard Administrator and Virtual Connect Show All report.In this article I will show you the steps to collect Virtual Connect Support Dump from...
View ArticleHot swapping a broken HDD with SOFTWARE (RAID 1) on HP blades
Ideally with RAID 1, RAID 5, etc once can easily do a hot HDD swap as they support mirroring at the hardware level but to do the same on a software raid 1 becomes tricky as ideally an OS shutdown is...
View ArticleHow to blacklist or disable USB module in Red Hat 7
To improve security in our environment many times we have to blacklist certain modules from getting loaded in our setup to avoid any security leak.The provided procedure is tested with Red Hat...
View ArticleHow to disable or enable ipv6 in Linux
In this article I will share the steps to disable and enable ipv6 in Red Hat Enterprise Linux 7There are many methods which can be used to disable IPv6 depending upon your requirement so I will try to...
View Articlerpcbind.socket failed to listen on sockets: Address family not supported by...
I got this error the other day while working on Red Hat Enterprise Linux 7.3 and after digging for a while I got to know there is a sort of a BUG in RHEL 7.3.Error:rpcbind service fails to start with...
View ArticleVerification Failed - Error connecting to the Apple ID Server
Unable to connect to iCloud Server or iTunes from your laptop?I recently did an update of iTunes on my laptop after which I was unable to re-login to the iTunes with the below errorError:Verification...
View Articlesed: insert word or text after match in middle of the line
I have a file where I want to search for a particular string and append some text after the match in the same line..For egThis is testHere it must becomeThis is not testCommand:# echo "This is test"...
View Articlesed: Insert character in the beginning or end of line with matched pattern
Before starting with some command examples let us take a file sample output where we want to perform our sed operation.Sample File "/tmp/file" with below content# Port rpc.statd should listen...
View Article