Glances tools for monitoring Linux VPS Server resource status

Source: Internet
Author: User
Tags vps vps server
First, Glances website
The code is as follows Copy Code
Tool Address: Https://github.com/nicolargo/glances
If we need to install the Glances tool on a Linux VPS server, we need to ensure that more than Python2.6, psutil2.0 version.
Second, glances monitoring tool installation
1, automatic installation
The code is as follows Copy Code
wget-o-Http://bit.ly/glances | /bin/bash
When we ensure the support environment, enter the above one-click package installation, you can automatically deploy glances monitoring tools.
2. PIP installation
The code is as follows Copy Code
Pip Install glances
Third, Glances monitoring application command
Old Chiang in the current test VPS (I am using DEBIAN8) installed Glances monitoring tools, we can select the above automatic or PIP installation, after installation we can use a few of the common commands with the server to view the information.
1, glances
Enter the glances command, and we can see the overall performance of the current server. We can see CPU, IO, load, UPTIME, and process data information so that the overall performance of the server can be fed back to us.
2, Glances-w
We enter this command in SSH and will prompt us with a web address so we can see the current server performance through a temporary web address. Here we can see the Web interface using the IP address of our current VPS server in our browser and the 61208 ports we see above.
The Web interface we see here is almost the same as the server interface above. Just a little bit bigger and the browsing experience is a little bit better.
3, multi-server monitoring
We can also use the current server as a monitoring server to monitor other servers.
The code is as follows Copy Code
Glances-s
On the local command, you can see that you need the monitor server to open port 61209.
Then we execute on the server that needs to be monitored:
The code is as follows Copy Code
GLANCES-C IP (monitor server IP)
So we execute the glances--browser command to see all the server's data information on the monitor server.
Summary, glances can view real-time and accurate view of our current server monitoring information, because through the Third-party tools to transfer the view is not very accurate and detailed, third-party tools can be used as a monitoring downtime tool or more, the detailed server monitoring or operating on the machine. This glances tool we can according to their own likes to play, feel good high-end appearance.
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.