Installing Glances

Glance is a great tool for monitoring a server. Its full name is “Glances – an eye on your system”

It gives detailed information about CPU, MEM, DISK and server performance.

Click here for Glances github site –

Here is a quick guide to install glances

  • First install wget if your do not already have it

yum install wget -y

  • Add the fedora repo to CentOS – this is not a default repository so you have to manually add it


  • Install the package with RPM

rpm -ivh epel-release-7-11.noarch.rpm

  • Install glances

yum install glances -y

  • Run Glances



  • python 2.7,>=3.4
  • psutil>=5.3.0 (better with latest version)

Optional dependencies:

  • bernhard (for the Riemann export module)
  • bottle (for Web server mode)
  • cassandra-driver (for the Cassandra export module)
  • couchdb (for the CouchDB export module)
  • docker (for the Docker monitoring support) [Linux-only]
  • elasticsearch (for the Elastic Search export module)
  • hddtemp (for HDD temperature monitoring support) [Linux-only]
  • influxdb (for the InfluxDB export module)
  • kafka-python (for the Kafka export module)
  • netifaces (for the IP plugin)
  • nvidia-ml-py3 (for the GPU plugin)
  • pika (for the RabbitMQ/ActiveMQ export module)
  • potsdb (for the OpenTSDB export module)
  • prometheus_client (for the Prometheus export module)
  • py-cpuinfo (for the Quicklook CPU info module)
  • pygal (for the graph export module)
  • pymdstat (for RAID support) [Linux-only]
  • pySMART.smartx (for HDD Smart support) [Linux-only]
  • pysnmp (for SNMP support)
  • pystache (for the action script feature)
  • pyzmq (for the ZeroMQ export module)
  • requests (for the Ports, Cloud plugins and RESTful export module)
  • scandir (for the Folders plugin) [Only for Python < 3.5]
  • statsd (for the StatsD export module)
  • wifi (for the wifi plugin) [Linux-only]
  • zeroconf (for the autodiscover mode)

Here is the interactive command list


Sort process list automatically

  • If CPU >70%, sort processes by CPU usage
  • If MEM >70%, sort processes by MEM usage
  • If CPU iowait >60%, sort processes by I/O read and write

AEnable/disable Application Monitoring ProcessbSwitch between bit/s or Byte/s for network I/OBView disk I/O counters per secondcSort processes by CPU usagedShow/hide disk I/O statsDEnable/disable Docker statseEnable/disable top extended statsEErase current process filterfShow/hide file system and folder monitoring statsFSwitch between file system used and free spacegGenerate graphs for current historyhShow/hide the help screeniSort processes by I/O rateIShow/hide IP modulelShow/hide log messagesmSort processes by MEM usageMReset processes summary min/maxnShow/hide network statsNShow/hide current timepSort processes by nameq|ESC|CTRL-CQuit the current Glances sessionQShow/hide IRQ modulerReset historyRShow/hide RAID pluginsShow/hide sensors statstSort process by CPU times (TIME+)TView network I/O as combinationuSort processes by USERUView cumulative network I/OwDelete finished warning log messagesWShow/hide Wifi modulexDelete finished warning and critical log messageszShow/hide processes stats0

Enable/disable Irix/Solaris mode

Task’s CPU usage will be divided by the total number of CPUs

1Switch between global CPU and per-CPU stats2Enable/disable left sidebar3Enable/disable the quick look module4Enable/disable all but quick look and load module5Enable/disable top menu (QuickLook, CPU, MEM, SWAP and LOAD)6Enable/disable mean GPU mode/Switch between process command line or command name