Get your server issues fixed by our experts for a price starting at just 25 USD/Hour. Click here to register and open a ticket with us now!

Author Topic: Glances: A monitoring tool for Linux systems  (Read 2844 times)

0 Members and 1 Guest are viewing this topic.

jominj

  • Guest
Glances: A monitoring tool for Linux systems
« on: December 28, 2013, 08:36:48 pm »
Glances is a free (LGPL) cross-platform curses-based monitoring tool which aims to present a maximum of information in a minimum of space, ideally to fit in a classical 80x24 terminal or higher to have additionnal information. Glances can adapt dynamically the displayed information depending on the terminal size. It can also work in a client/server mode for remote monitoring.

Install glances tool using the command
Code: [Select]
# yum -y install glances
Basic Syntax is as follows::
Code: [Select]
# glances
# glances [options]

Use the following hot keys to find tune your output:
   
  • a Sort processes automatically.
  • c Sort processes by CPU%.
  • m Sort processes by MEM%.
  • p Sort processes by name.
  • i Sort processes by I/O rate.
  • d Show/hide disk I/O stats.
  • f Show/hide file system stats.
  • n Show/hide network stats.
  • s Show/hide sensors stats.
  • y Show/hide hddtemp stats.
  • l Show/hide logs.
  • b Bytes or bits for network I/O.
  • w Delete warning logs.
  • x Delete warning and critical logs.
  • 1 Global CPU or per-CPU stats.
  • t View network I/O as combination.
  • u - View cumulative network I/O.

On server type the following command to bind server to the given IPv4/IPv6 address or hostname:
Code: [Select]
# glances -B @IP|host
# glances -B IP
# glances -B www.host.com

From your desktop client such as OSX/FreeBSD/Linux based system type the following command to connect to a Glances server by IPv4/IPv6 address or hostname:
Code: [Select]
# glances -c @IP|host
# glances -c IP
# glances -c www.host.com