O SlideShare utiliza cookies para otimizar a funcionalidade e o desempenho do site, assim como para apresentar publicidade mais relevante aos nossos usuários. Se você continuar a navegar o site, você aceita o uso de cookies. Leia nosso Contrato do Usuário e nossa Política de Privacidade.
O SlideShare utiliza cookies para otimizar a funcionalidade e o desempenho do site, assim como para apresentar publicidade mais relevante aos nossos usuários. Se você continuar a utilizar o site, você aceita o uso de cookies. Leia nossa Política de Privacidade e nosso Contrato do Usuário para obter mais detalhes.
Operating systems control our
hardware and run our applications on
them, how can we monitor linux
When we speak about monitoring it's
the matter of all hardwares and users.
The slides below will describe the
very common command line basic
tools for monitoring.
The ps will provide you
a list of processes
currently running. There
is a wide variety of
options that this
command gives you.
This command will give
you a hierarchy of
current processes of the
CPU regarding to their
The most common of
Monitoring commands is
top. The top will display
a continually updating
report of system
Tcpdump one of the most widely used command-line network packet analyzer
or packets sniffer program that is used capture or filter TCP/IP packets that
received or transferred on a specific interface over a network.
The vmstat command will provide a report showing
statistics for system processes, memory, swap, I/O, and
the CPU. These statistics are generated using data from
the last time the command was run to the present.
iftop listens to network traffic on a named interface, or on
the first interface it can find which looks like an external
interface if none is specified, and displays a table of
current bandwidth usage by pairs of hosts.
The iostat will display the current CPU load average and disk I/O
information. This is a great command to monitor your disk I/O
The lsof command
will print out a list of
every file that is in
To view usage by a
directory or file you can
use du. Unless you
specify a filename du
will act recursively.
Netstat is a command line
tool for monitoring incoming
and outgoing network
packets statistics as well as
interface statistics. It is very
useful tool for every system
administrator to monitor
network performance and
troubleshoot network related
The df is the simplest tool available to view disk usage.
Simply type in df and you'll be shown disk usage for all
your mounted filesystems in 1K blocks
iotop is also much similar to
top command and Htop
program, but it has
accounting function to
monitor and display real time
Disk I/O and processes. This
tool is much useful for
finding the exact process
and high used disk
read/writes of the processes.
The easiest way to see
who is on the system is to
do a who or w.
It is important that what is going on around us.
●  http://tldp.org - The Linux System Administrator's Guide
●  http://www.tecmint.com/command-line-tools-to-monitor-linux-performance/
●  http://www.cyberciti.biz/tips/top-linux-monitoring-tools.html/top-output