Wednesday, October 23, 2019

Network Load Monitor Commad in EC2 Instance



Object :

To monitor the Instance In Out Network traffic in the EC2 instances.



Step:1
 
           First you need to install the "nload" RPM in your terminal using the below command.

sudo yum install nload

It will start the installation When you accept Yes.

Loaded plugins: priorities, update-motd, upgrade-helper
amzn-main                                                | 2.1 kB     00:00
amzn-updates                                             | 2.5 kB     00:00
epel/x86_64/metalink                                     | 7.8 kB     00:00
1065 packages excluded due to repository priority protections
Resolving Dependencies
--> Running transaction check
---> Package nload.x86_64 0:0.7.4-1.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package         Arch             Version                  Repository      Size
================================================================================
Installing:
 nload           x86_64           0.7.4-1.el6              epel            63 k

Transaction Summary
================================================================================
Install  1 Package

Total download size: 63 k
Installed size: 155 k
Is this ok [y/d/N]: y
Downloading packages:
nload-0.7.4-1.el6.x86_64.rpm                               |  63 kB   00:01
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : nload-0.7.4-1.el6.x86_64                                     1/1
  Verifying  : nload-0.7.4-1.el6.x86_64                                     1/1

Installed:
  nload.x86_64 0:0.7.4-1.el6

Complete!


Command To Monitor the Network Load.

nload -U m (This command will show you in MB)
nload -U k (This command will show you in KB)
nload -U G (This command will show you in GB)

As per your Use case you might select the command.Thanks !!!