Giter Club home page Giter Club logo

glances's Introduction

Follow Glances on Twitter: @nicolargo or @glances_system

Glances - An eye on your system

image

image

image

Downloads

image

Glances is a cross-platform curses-based system monitoring tool written in Python.

It uses the psutil library to get information from your system.

image

Requirements

  • python >= 2.6 (tested with version 2.6, 2.7, 3.3, 3.4)
  • psutil >= 2.0.0
  • setuptools

Optional dependencies:

  • bottle (for Web server mode)
  • py3sensors (for hardware monitoring support) [Linux-only]
  • hddtemp (for HDD temperature monitoring support) [Linux-only]
  • batinfo (for battery monitoring support) [Linux-only]
  • pysnmp (for SNMP support)

Installation

PyPI: The simple way

Glances is on PyPI. By using PyPI, you are sure to have the latest stable version.

To install, simply use pip:

pip install Glances

Note: Python headers are required to install psutil. For example, on Debian/Ubuntu you need to install first the python-dev package.

To upgrade Glances to the latest version:

pip install --upgrade Glances

GNU/Linux

At the moment, packages exist for the following GNU/Linux distributions:

  • Arch Linux
  • Debian (Testing/Sid)
  • Fedora/CentOS/RHEL
  • Gentoo
  • Slackware
  • Ubuntu (13.04+)
  • Void Linux

So you should be able to install it using your favorite package manager.

FreeBSD

To install the binary package:

# pkg_add -r py27-glances

Using pkgng:

# pkg install py27-glances

To install Glances from ports:

# cd /usr/ports/sysutils/py-glances/
# make install clean

OS X

OS X users can install Glances using Homebrew or MacPorts.

Homebrew

$ brew install python
$ pip install Glances

MacPorts

$ sudo port install glances

Windows

Source

To install Glances version X.Y from source:

$ curl -L https://github.com/nicolargo/glances/archive/vX.Y.tar.gz -o glances-X.Y.tar.gz
$ tar -zxvf glances-*.tar.gz
$ cd glances-*
# python setup.py install

Note: Python headers are required to install psutil. For example, on Debian/Ubuntu you need to install first the python-dev package.

Puppet

You can install Glances using Puppet: https://github.com/rverchere/puppet-glances

Usage

For the standalone mode, just run:

$ glances

For the Web server mode, run:

$ glances -w

and enter the URL http://<ip>:61208 in your favorite web browser.

For the client/server mode, run:

$ glances -s

on the server side and run:

$ glances -c <ip>

on the client one.

And RTFM, always.

Documentation

For complete documentation see glances-doc.

Author

Nicolas Hennion (@nicolargo) <[email protected]>

License

LGPL. See COPYING for more details.

glances's People

Contributors

nicolargo avatar asergi avatar jrenner avatar fraoustin avatar mendelgusmao avatar herr-biber avatar beudbeud avatar laurentb avatar dongweiming avatar 2xyo avatar jeanbob avatar philips avatar xorpaul avatar xiongchiamiov avatar regdoug avatar qzio avatar dongwm avatar altmas5 avatar worr avatar verrus avatar creaktive avatar zogstrip avatar rwmacleod avatar luxflux avatar rberaldo avatar jellonek avatar pigmonkey avatar weaselkeeper avatar peritus avatar dmd avatar

Watchers

James Cloos avatar Lépidoptère avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.