EnglishFrenchSpanish

Ad


OnWorks favicon

glances - Online in the Cloud

Run glances in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command glances that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


glances - A cross-platform curses-based system monitoring tool

SYNOPSIS


glances [OPTIONS]

DESCRIPTION


Glances is a free (LGPL) cross-platform curses-based system 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. It can adapt dynamically the
displayed information depending on the terminal size.

Glances can also work in client/server mode. Remote monitoring could be done via terminal
or web interface.

This tool is written in Python and uses the psutil library to fetch the statistical values
from key elements, like CPU, load average, memory, network, disks, file systems, processes
and so on.

COMMAND-LINE OPTIONS


The command-line options are the following:

-h, --help
show this help message and exit

-V, --version
show program's version number and exit

-d, --debug
Enable debug mode (log file is /tmp/glances.log)

-C CONF_FILE, --config CONF_FILE
path to the configuration file

-b, --byte
display network rate in byte per second [default: bit per second]

--disable-bold
disable bold mode in the terminal

--disable-diskio
disable disk I/O module

--disable-fs
disable file system module

--disable-network
disable network module

--disable-sensors
disable sensors module

--disable-left-sidebar
disable network, disk IO, FS and sensors modules

--disable-process
disable process module

--disable-log
disable log module

--enable-process-extended
enable extended stats on top process

--enable-history
enable the history mode

B --path-history PATH_HISTORY
set the export path for graph history

--export-csv CSV_FILE
export stats to a CSV file

--export-influxdb
export stats to an InfluxDB server

--export-statsd
export stats to a Statsd server

-s, --server
run Glances in server mode

--browser
start the client browser (display list of servers)

--disable-autodiscover
disable autodiscover feature

-c CLIENT, --client CLIENT
connect to a Glances server by IPv4/IPv6 address or hostname

-p PORT, --port PORT
define the client/server TCP port [default: 61209]

--password
define a client/server password from the prompt or file

-B BIND_ADDRESS, --bind BIND_ADDRESS
bind server to the given IPv4/IPv6 address or hostname

--snmp-community SNMP_COMMUNITY
SNMP community

--snmp-port SNMP_PORT
SNMP port

--snmp-version SNMP_VERSION
SNMP version (1, 2c or 3)

--snmp-user SNMP_USER
SNMP username (only for SNMPv3)

--snmp-auth SNMP_AUTH
SNMP authentication key (only for SNMPv3)

--snmp-force
Force the SNMP mode (do not try Glances server)

-t TIME, --time TIME
set refresh time in seconds [default: 3 sec]

-w, --webserver
run Glances in Web server mode

-1, --percpu
start Glances in per CPU mode

-1, --process-short-name
Force short name for processes name

-1, --fs-free-space
Display FS free space instead of used

-1, --theme-white
Optimize display for white background

INTERACTIVE COMMANDS


You can use the following keys while in Glances:

ENTER Set the process filter pattern (as a regular expression)

a Sort process list automatically

b Switch between bit/s or Byte/s for network I/O

c Sort processes by CPU usage

d Show/hide disk I/O stats

e Enable/disable top extended stats

f Show/hide file system stats g Generate graphs for current history

h Show/hide the help screen

i Sort processes by I/O rate

l Show/hide log messages

m Sort processes by MEM usage

n Show/hide network stats

p Sort processes by name

q Quit

r Reset history

s Show/hide sensors stats

T Sort process by CPU times (TIME+)

t View network I/O as combination

u View cumulative network I/O

w Delete finished warning log messages

x Delete finished warning and critical log messages

z Show/hide processes stats

z Show/hide processes list (for low CPU consumption)

1 Switch between global CPU and per-CPU stats

EXAMPLES


Refresh information every 5 seconds:
glances -t 5

EXIT STATUS


Glances returns a zero exit status if it succeeds to print/grab information.

It returns 2 if it fails to parse its options (missing arguments, invalid value, etc).

Use glances online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    OrangeFox
    OrangeFox
    Fork of TeamWinRecoveryProject(TWRP)
    with many additional functions, redesign
    and more Features:Supports Treble and
    non-Treble ROMsUp-to-date Oreo kernel,
    built...
    Download OrangeFox
  • 2
    itop - ITSM  CMDB OpenSource
    itop - ITSM CMDB OpenSource
    IT Operations Portal: a complete open
    source, ITIL, web based service
    management tool including a fully
    customizable CMDB, a helpdesk system and
    a document man...
    Download itop - ITSM CMDB OpenSource
  • 3
    Clementine
    Clementine
    Clementine is a multi-platform music
    player and library organizer inspired by
    Amarok 1.4. It has a fast and
    easy-to-use interface, and allows you to
    search and ...
    Download Clementine
  • 4
    XISMuS
    XISMuS
    ATTENTION: Cumulative update 2.4.3 has
    been released!! The update works for any
    previous 2.x.x version. If upgrading
    from version v1.x.x, please download and
    i...
    Download XISMuS
  • 5
    facetracknoir
    facetracknoir
    Modular headtracking program that
    supports multiple face-trackers, filters
    and game-protocols. Among the trackers
    are the SM FaceAPI, AIC Inertial Head
    Tracker ...
    Download facetracknoir
  • 6
    PHP QR Code
    PHP QR Code
    PHP QR Code is open source (LGPL)
    library for generating QR Code,
    2-dimensional barcode. Based on
    libqrencode C library, provides API for
    creating QR Code barc...
    Download PHP QR Code
  • 7
    Cuckoo Sandbox
    Cuckoo Sandbox
    Cuckoo Sandbox uses components to
    monitor the behavior of malware in a
    Sandbox environment; isolated from the
    rest of the system. It offers automated
    analysis o...
    Download Cuckoo Sandbox
  • More »

Linux commands

  • 1
    acl_gran
    acl_gran
    rsbac-admin - Rule Set Based Access
    Control DESCRIPTION: rsbac-admin is a
    set of tool used to manage systems using
    a Rule Set Based Access Control (RSBAC)
    kern...
    Run acl_gran
  • 2
    acl_grant
    acl_grant
    rsbac-admin - Rule Set Based Access
    Control DESCRIPTION: rsbac-admin is a
    set of tool used to manage systems using
    a Rule Set Based Access Control (RSBAC)
    kern...
    Run acl_grant
  • 3
    cpupower-idle-set
    cpupower-idle-set
    cpupower idle-set - Utility to set cpu
    idle state specific kernel options
    SYNTAX: cpupower [ -c cpulist ]
    idle-info [options] DESCRIPTION: The
    cpupower idle-se...
    Run cpupower-idle-set
  • 4
    cpupower-info
    cpupower-info
    cpupower-info - Shows processor power
    related kernel or hardware
    configurations ...
    Run cpupower-info
  • 5
    g15daemon
    g15daemon
    g15daemon - provides access to extra
    keys and the LCD available on the
    logitech G15 keyboard. DESCRIPTION:
    G15Daemon allows users access to all
    extra keys by d...
    Run g15daemon
  • 6
    g15ladi
    g15ladi
    laditools - tools to control and
    monitor LADI (JACK and ladish) systems ...
    Run g15ladi
  • More »

Ad