Experiment No:-3: Title: To Use The Basic Network Monitoring and Debugging Tools and Interpret
Experiment No:-3: Title: To Use The Basic Network Monitoring and Debugging Tools and Interpret
Title : To use the basic Network Monitoring and Debugging tools and interpret
the findings.
1.Htop-
htop command in Linux system is a command line utility that allows the user to
interactively monitor the system’s vital resources or server’s processes in real
time. htop is a newer program compared to top command, and it offers many
improvements over top command. htop supports mouse operation, uses color in
its output and gives visual indications about processor, memory and swap
usage. htop also prints full command lines for processes and allows one to scroll
both vertically and horizontally for processes and command lines respectively.
Output-
2.atop-
Atop is a monitoring tool which is mainly developed for command line usage. It
is capable of showing detailed information about process, memory, disk
network information and metrics. Atop commands provides more details than
popular top command.It also shows which processes are responsible for the
indicated load with respect to cpu- and memory load on process level. Disk load
is shown if per process "storage accounting" is active in the kernel or if the
kernel patch 'cnt' has been installed. Network load is only shown per process if
the kernel patch 'cnt' has been installed.
Output-
3.Nmon-
Nmon is a fully interactive performance monitoring command-line utility tool
for Linux. It is a benchmark tool that displays performance about the CPU,
MEMORY, NETWORK, DISKS, FILE SYSTEM, NFS, TOP PROCESSES,
RESOURCES, AND POWER MICRO-PARTITION.The nmon tool will, using
a simple ncurses interface, display the usage for CPU, memory, network, disks,
file system, NFS, top processes, resources, and power micro-partition. What's
best is that you get to choose what nmon displays. And since it's text-based, you
can secure shell into your servers and get a quick glimpse from anywhere.
Output-
4.Saidar-
Saidar is a curses-based application to display system statistics. It use the
libstatgrab library, which provides cross platform access to statistics about the
system on which it’s run. Reported statistics include CPU, load, processes,
memory, swap, network input and output and disks activities along with their
free space.
Output-
5.Df-
The df command (short for disk free), is used to display information related to
file systems about total space and available space.The first column “Filesystem”
gives the name of the storage (e.g. /dev/sda1) while the second column shows
the size of the filesystem in Kilobytes. Likewise the third and fourth columns
show how much of the filesystem is used and how much is free while the
penultimate column shows the usage as a percentage.
Output-
5.Discus-
to report file system disk space usage in Linux. We have discovered yet a
another great utility for the same purpose but with a prettier output, called
discus.Discus is a df-like, highly configurable utility for checking disk space
utilization in Linux, intended to make df prettier with fancy features such as
colored output, bar graphs, and smart formatting of numbers. To configure it,
you may copy its main configuration file /etc/discusrc to ~/.discusrc and do your
customization in there.
Output-
6.Xosview-
xosview is a monitor which displays the status of several system based
parameters. These include CPU usage, load average, memory usage, swap space
usage, network usage, interrupts, and serial port status. Each of these is
displayed as a horizontal bar which is separated into color coded regions. Each
region represents a percentage of the resource which is being put to a particular
use. Typing a 'q' in the window will terminate xosview.
At the moment xosview runs on seven platforms (Linux, NetBSD, FreeBSD,
OpenBSD, some Solaris systems, IRIX 6.5 and HPUX). Not all of the meters
described below are supported on all platforms.
Output-
6.Uptime-
Uptime Command In Linux: It is used to find out how long the system is active
(running). This command returns set of values that involve, the current time,
and the amount of time system is in running state, number of users currently
logged into, and the load time for the past 1, 5 and 15 minutes respectively.
Output-
7.Dstat-
dstat is a tool that is used to retrieve information or statistics form components
of the system such as network connections, IO devices, or CPU, etc. It is
generally used by system administrators to retrieve a handful of information
about the above-mentioned components of the system. It itself performs like
vmstat, netstat, iostat, etc. By using this tool one can even see the throughput for
block devices that make up a single filesystem or storage system.
Output-
8.Free-
While using LINUX there might come a situation when you are willing to
install a new application (big in size) and you wish to know for the amount of
free memory available on your system. In LINUX, there exists a command line
utility for this and that is free command which displays the total amount of free
space available along with the amount of memory used and swap memory in the
system, and also the buffers used by the kernel.
Output-
9.Nload-
nload is a command-line tool to keep an eye on network traffic and bandwidth
usage in real time. It helps you to monitor incoming and outgoing traffic using
graphs and provides additional information such as the total amount of
transferred data and min/max network usage.
In this guide, we will show you how to install and use nload to monitor Linux
network traffic and bandwidth utilization in real-time.
Output-