By default, the Glances threshold is: careful = 50, warning = 70, and critical = 90. You can use the default configuration file glances. conf In the "/etc/glances/" directory to customize these thresholds.
Glances optionsGlances provides many shortcut keys that can be used to find output information during its running.
Below are some common hotkeys:
◆ M: Process sorted by memory usage
◆ P: Process by process name
◆ C: Process sorted by CPU usage
◆ I: Process sorting by I/O frequency
◆ A: Automatic Sorting Process
◆ D: Display/hide disk I/O statistics
◆ F: displays/hides statistics of the file system.
◆ S: Display/hide sensor statistics
◆ Y: Display/hide hard disk temperature statistics
◆ L: Display/hide logs
◆ N: Display/hide network statistics
◆ X: delete warning and severe logs
◆ H: Display/hide the Help Page
◆ Q: Exit
◆ W: delete warning records
Use Glances to monitor remote systemsYou can also use Glances to monitor remote systems. To use it on a remote system, run the following command:
glances-s
You will see the output similar to the following:
Glances monitor remote system server
As you can see, Glances runs on port 61209.
Now, run the following command on a remote machine to connect to the Glances server with the specified IP address. Suppose 192.168.1.10 is the IP address of your Glances server.
glances-c-P192.168.1.10
Conclusion
For every Linux system administrator, Glances is a very useful tool. Using it, you can easily and efficiently monitor Linux systems. If you have any questions, please comment freely!
From: http:// OS .51cto.com/art/201601/504029.htm
Address: http://www.linuxprobe.com/monitorin-system-ubuntu.html