Mount Slaved Drive

Sometimes your OS needs to be reinstalled by your datacenter. This means that you need to mount the slaved drive in order to copy the data to the new OS drive. Here is a typical example: Login to the server and run the following to see whats mounted: [root@68-168-105-44 ~]# df -h Filesystem Size Used […]

Read More

Disk I/O Stats in linux

Sysstat For disk I/O trending there are a few options. the sar command from sysstat. By default, it gives output like this: # sar Linux 2.6.32-642.11.1.el6.x86_64 (test.geekdecoder.com) 01/26/2017 _x86_64_ (2 CPU) 12:00:01 AM CPU %user %nice %system %iowait %steal %idle 12:10:01 AM all 0.03 0.00 0.03 0.09 0.00 99.85 12:20:01 AM all 0.27 0.00 0.04 […]

Read More

IP Lookup with CLI Linux

nstall geoiplookup on Debian, Ubuntu or Linux Mint: $ sudo apt-get install geoip-bin To install geoiplookup on Fedora: $ sudo yum install geoip To install geoiplookup on CentOS, first enable EPEL repository $ sudo yum install epel-release then use yum command: $ sudo yum install geoip The default installation of geoiplookup comes with GeoIP.dat database […]

Read More