Live data from Hacker News

Glances - an easy CLI overview of your system (CPU, mem, I/O)

nicolargo.github.com

21–30 of 59 posts

Re: Glances - an easy CLI overview of your system (CPU, mem, I/O)

#22
I will definitely try this out! Just from browsing the webpage it looks nice.

The psutil library doesn't use process accounting, does it? Without it, Glances will miss processes whose lifetime is within a single check interval.

As always when this topic comes up, I have to give a recommendation for atop. This LWN article goes into why it is awesome- https://lwn.net/Articles/387202/ . The logging and interactive examination of historical process-level metrics is the killer feature for me. Here are some screenshots- http://atoptool.nl/screenshots.php

Re: Glances - an easy CLI overview of your system (CPU, mem, I/O)

#23
Looks very nice. I'm a very happy user of iStat Menus for similar monitoring on OS X.

One thing that iStat menus lacks, and I was hoping Glances had (but appears not to) is a "top" like viewer for what is using bandwidth. Both applications only give the overall bandwidth usage. I'll see my bandwidth shoot up hundreds of Kbps out of nowhere and quickly try to determine what's using it through combinations of looking at open programs (maybe they're updating in the background), lsof -i, nettop if I can remember the name, but haven't been particularly keen on any of them. Any recommendations?

Re: Glances - an easy CLI overview of your system (CPU, mem, I/O)

#24
post #21

Is it on yum for centos? I was playing with htop but it's not really any better than top.

Try atop. There's an overview at https://lwn.net/Articles/387202/

It's available through the EPEL yum repository http://dl.fedoraproject.org/pub/epel/6/x86_64/repoview/atop....

Re: Glances - an easy CLI overview of your system (CPU, mem, I/O)

#28

Looks very nice. I'm a very happy user of iStat Menus for similar monitoring on OS X. One thing that iStat menus lacks, and I was hoping Glances had (but appears not to) is a "top" like viewer for what is using bandwidth. Both applications only give the overall bandwidth usage. I'll see my bandwidth shoot up hundreds of Kbps out of nowhere and quickly try to determine what's using it through combinations of looking a…

Have you tried iftop?

Re: Glances - an easy CLI overview of your system (CPU, mem, I/O)

#29
post #24
post #21

Is it on yum for centos? I was playing with htop but it's not really any better than top.

Try atop. There's an overview at https://lwn.net/Articles/387202/ It's available through the EPEL yum repository http://dl.fedoraproject.org/pub/epel/6/x86_64/repoview/atop....

Not in its documentation, but atop requires root. If you're on a VM somewhere, you might be happier with htop or glances.

Re: Glances - an easy CLI overview of your system (CPU, mem, I/O)

#30

Seems to run decently on my Mac 10.8

Could you share how you got this to work on your Mac?

Another way to install this on OSX if you use Homebrew package manager.

1. Install Homebrew if you don't have it already

  http://mxcl.github.com/homebrew/
2. Install the brew-pip package

  brew install brew-pip
3. Add Homebrew's pip path to your PYTHONPATH environment variable (you probably should add this to some sort of shell initialization file like ~/.bashrc or ~/.zshrc)

  export PYTHONPATH=$(brew --prefix)/lib/python2.7/site-packages
3. Now install any pip pacakges with Homebrew!

  brew pip Glances
Post reply on HN