Seems cool but I could not get this to install on Ubuntu 8 (old I know) ... even trying to do a wget gave me this error "ERROR: Certificate verification error for github.com: unable to get local issuer certificate"
Use wget with --no-check-certificate or change https to http
Glances - an easy CLI overview of your system (CPU, mem, I/O)
51–59 of 59 posts
Re: Glances - an easy CLI overview of your system (CPU, mem, I/O)
#52Earlier quoted context omitted.
Use wget with --no-check-certificate or change https to http
This seems like such a bad idea... certs exist in repos for very good reasons.
Re: Glances - an easy CLI overview of your system (CPU, mem, I/O)
#53Re: Glances - an easy CLI overview of your system (CPU, mem, I/O)
#54Earlier quoted context omitted.
This seems like such a bad idea... certs exist in repos for very good reasons.
Sure, but if you're simply downloading a shell script (whose source code you can see) from github (a site you can trust), I don't see the issue.
Re: Glances - an easy CLI overview of your system (CPU, mem, I/O)
#55Not sure how this would work from a UI perspective but it'd be nice if you could add other servers to be monitored. So instead of me having 20+ terminal windows open, ssh'd into each box and running this app, I could run this app from a central server that's showing all of them together. Again, I have no idea how to present that nicely.
Re: Glances - an easy CLI overview of your system (CPU, mem, I/O)
#56First, this is cool! Good job! Would you run this or would you run htop? I'm not sure when I'd use one over the other. Maybe someone less dense than I knows more and can tell me what the differences are?
Normally to get network and disk stats I have to run a combination of dstat, iotop. A simple screenshot comparison: http://i.imgur.com/eQPuQ.png
OTOH htop takes up ~2MB per instance, while glances is taking up ~13MB. Glances also doesn't have the ability to sort by columns except by CPU/mem %. You can't kill browse or kill processes from the list either.
Re: Glances - an easy CLI overview of your system (CPU, mem, I/O)
#57First, this is cool! Good job! Would you run this or would you run htop? I'm not sure when I'd use one over the other. Maybe someone less dense than I knows more and can tell me what the differences are?
htop (and by extension top) is for CPU / memory / load information only. Normally to get network and disk stats I have to run a combination of dstat, iotop. A simple screenshot comparison: http://i.imgur.com/eQPuQ.png OTOH htop takes up ~2MB per instance, while glances is taking up ~13MB. Glances also doesn't have the ability to sort by columns except by CPU/mem %. You can't kill browse or kill processes from the lis…
Re: Glances - an easy CLI overview of your system (CPU, mem, I/O)
#58Earlier quoted context omitted.
Sure, but if you're simply downloading a shell script (whose source code you can see) from github (a site you can trust), I don't see the issue.
If it can't validate the cert, it could be the sign of a MITM attack. Likely? No, but I wouldn't take content with cert issues and run it as root. At least not without validating it in some other way.
Anyhow, I agree that using --no-check-certificate is usually a bad idea.
Re: Glances - an easy CLI overview of your system (CPU, mem, I/O)
#59Earlier quoted context omitted.
Not in its documentation, but atop requires root. If you're on a VM somewhere, you might be happier with htop or glances.
You can run atop without root, it just won't use process accounting so you may miss some processes (but so would htop and glances). I'm not sure what being on a VM has to do with anything. It would be nice if there was a way (e.g. a command-line argument or atoprc setting) to disable the ability to kill processes from within atop; then it would be safer for an admin to make it executable as root by regular users.
For interactive use it is sufficient to install ATOP with the command (as root):
make install
I wouldn't have guessed the reference to root was optional! Thanks for the pointer.