Basic Monitoring Tools

This Tutorials We Learn About Basic Monitoring Tools In Linux/Centos in Command Line.

DMIDECODE:

The dmidecode command reads the system DMI table contents in a human-readable format. This table contains a description of the system’s hardware components, as well as other useful pieces ofinformation such as serial numbers and BIOS revision. This command will give you information on the current configuration of your system you can retrieve this information without having to probe for the actual hardware.dmidecode gives both thecurrent RAM on the system and the maximum RAM supported by thesystem.

VMSTAT:

vmstat reports information about processes, memory, paging, block IO, traps,disks and CPU activity.

The first report produced gives averages since the last reboot. Additional
reports give information on a sampling period of length delay. The process and memory reports are instantaneous in either case.

Process (procs) section r – number of processes
waiting for runtime
b – number of processes in
uninterruptible sleep

Memory Unit:

swpd – the amount of virtual
memory used in KB
free – the amount of idle
memory In KB
buff – the amount of memory
used as buffers In KB
cache – the amount of memory
used as a cache in KB.

Swap section:

si – the amount of memory
swapped from the disk in KB

per second)
so – Amount of memory
swapped to the disk KB per
second

IO section
bi – blocks sent to a block
device (blocks/s)
bo – blocks received from a
block device (blocks/s)

System section
in – number of interrupts per
second, including the clock
cs – number of context
switches per second

CPU section
us – time spent running
non-kernel code (user time,
including nice time)
sy – time spent running
kernel code (system time)
id – time spent idle

Install SysStat in Centos/Linux

Related Posts