|^^|
source: http://www.tecmint.com/glances-an-advanced-real-time-system-monitoring-tool-for-linux/
Glances – An Advanced Real Time System Monitoring Tool for Linux
Earlier, we’ve written about many Linux System Monitor Tools that can be used to monitor performance of Linux systems, but we think that, most users prefer the default one that comes with every Linux distributions (top command).
The top command is real time task manager in Linux and the most frequently used system monitoring tool in GNU/Linux distributions to find the performance related bottlenecks in system which help us to take corrective actions. It has a nice minimalist interface, comes with few amount of reasonable options that enables us to get a better idea about overall system performance quickly.
However, sometimes its very tricky to find an application/process that consuming lots of system resources is a bit difficult under top. Because top command doesn’t have a ability to highlights programs that are eating too much of CPU, RAM, other resources.
For keeping such approach, here we are bringing a powerful system monitor program called “Glances” that automatically highlights programs that are utilizing highest system resources and providing maximum of information about Linux/Unix server.
What is glances?
Earlier, we’ve written about many Linux System Monitor Tools that can be used to monitor performance of Linux systems, but we think that, most users prefer the default one that comes with every Linux distributions (top command).
The top command is real time task manager in Linux and the most frequently used system monitoring tool in GNU/Linux distributions to find the performance related bottlenecks in system which help us to take corrective actions. It has a nice minimalist interface, comes with few amount of reasonable options that enables us to get a better idea about overall system performance quickly.
However, sometimes its very tricky to find an application/process that consuming lots of system resources is a bit difficult under top. Because top command doesn’t have a ability to highlights programs that are eating too much of CPU, RAM, other resources.
For keeping such approach, here we are bringing a powerful system monitor program called “Glances” that automatically highlights programs that are utilizing highest system resources and providing maximum of information about Linux/Unix server.
What is Glances?
Glances is a cross-platform command-line curses-based system monitoring tool written in Python language which use the psutil library to grab informations from the system. With Glance, we can monitor CPU, Load Average, Memory, Network Interfaces, Disk I/O, Processes and File System spaces utilization.
Glances is a free tool and licensed under GPL to monitory GNU/Linux and FreeBSD operating systems. There are lots of interesting options available in Glances as well. One of the main features we have seen in Glances is that we can set thresholds (careful, warning and critical) in configuration file and informations will be shown in colors which indicates the bottleneck in the system.
With the Glances, you can even monitor remote systems too. To use ‘glances‘ on remote systems, run the ‘glances -s‘ (-s enables server/client mode) command on the server.
# glances -s Define the password for the Glances server Password: Password (confirm): Glances server is running on 0.0.0.0:61209
Note : Once, you issue ‘glances‘ command, it will prompt you to define the password for the Glances server. Define the password and hit enter, you see glances running on port 61209.
Now, go to the remote host and execute the following command to connect to a Glances server by specifying IP address or hostname as shown below. Here ‘172.16.27.56‘ is my glances server IP Address.
# glances -c -P 172.16.27.56
Below are few notable points that user must know while using glances in server/client mode.
* In server mode, you can set the bind address -B ADDRESS and listening TCP port -p PORT. * In client mode, you can set the TCP port of the server -p PORT. * Default binding address is 0.0.0.0, but it listens on all network interfaces at port 61209. * In server/client mode, limits are set by the server side. * You can also define a password to access to the server -P password.
20 Command Line Tools to Monitor Linux Performance
source: http://www.tecmint.com/command-line-tools-to-monitor-linux-performance/
It’s really very tough job for every System or Network administrator to monitor and debug Linux System Performance problems every day. After being a Linux Administrator for 5 years in IT industry, I came to know that how hard is to monitor and keep systems up and running. For this reason, we’ve compiled the list of Top 20 frequently used command line monitoring tools that might be useful for every Linux/Unix System Administrator. These commands are available under all flavors of Linux and can be useful to monitor and find the actual causes of performance problem. This list of commands shown here are very enough for you to pick the one that is suitable for your monitoring scenario.
1. Top – Linux Process Monitoring
2. VmStat – Virtual Memory Statistics
3. Lsof – List Open Files
4. Tcpdump – Network Packet Analyzer
5. Netstat – Network Statistics
6. Htop – Linux Process Monitoring
7. Iotop – Monitor Linux Disk I/O
8. Iostat – Input/Output Statistics
9. IPTraf – Real Time IP LAN Monitoring
10. Psacct or Acct – Monitor User Activity
11. Monit – Linux Process and Services Monitoring
12. NetHogs – Monitor Per Process Network Bandwidth
13. iftop – Network Bandwidth Monitoring
14. Monitorix – System and Network Monitoring
15. Arpwatch – Ethernet Activity Monitor
16. Suricata – Network Security Monitoring
17. VnStat PHP – Monitoring Network Bandwidth
18. Nagios – Network/Server Monitoring
21. Glances – Real Time System Monitoring
22. Sarg – Squid Bandwidth Monitoring
23. Apache Status Monitoring
24. Monit – Linux Process and Services Monitoring
25. Sysstat – All-in-One System Performance Monitoring
26. Icinga – Next Generation Server Monitoring
27. Observium – Network Management and Monitoring
28. Web VMStat – System Statistics Monitoring
29. PHP Server Monitoring
30. Linux Dash – Linux Server Performance Monitoring
31. Cacti – Network and System Monitoring
32. Munin – Network Monitoring
33. Wireshark – Network Protocol Analyzer
EOF