Chinaunix首页 | 论坛 | 博客
  • 博客访问: 223163
  • 博文数量: 86
  • 博客积分: 5030
  • 博客等级: 大校
  • 技术积分: 810
  • 用 户 组: 普通用户
  • 注册时间: 2010-03-30 16:36
文章分类

全部博文(86)

文章存档

2010年(86)

我的朋友

分类: LINUX

2010-04-15 16:29:28

详见:

 

20 Linux System Monitoring Tools Every SysAdmin Should Know

by Vivek Gite ·

Need to monitor Linux server performance? Try these built-in command and a few add-on tools. Most Linux distributions are equipped with tons of monitoring. These tools provide metrics which can be used to get information about system activities. You can use these tools to find the possible causes of a performance problem. The commands discussed below are some of the most basic commands when it comes to system analysis and debugging server issues such as:

  1. Finding out bottlenecks.
  2. Disk (storage) bottlenecks.
  3. CPU and memory bottlenecks.
  4. Network bottlenecks.

Fig.01: Linux top command

Commonly Used Hot Keys

The top command provides several useful hot keys:

Hot Key Usage
t Displays summary information off and on.
m Displays memory information off and on.
A Sorts the display by top consumers of various system resources. Useful for quick identification of performance-hungry tasks on a system.
f Enters an interactive configuration screen for top. Helpful for setting up top for a specific task.
o Enables you to interactively select the ordering within top.
r Issues renice command.
k Issues kill command.
z Turn on or off color/mono

=> Related:

    1. .

    2. Get Detailed Information About Particular IP address Connections Using netstat Command

        Fig.02: General interface statistics: IP traffic statistics by network interface

        Fig.03 Network traffic statistics by TCP connection

        information about files, enter:

        # tcpdump -n -i eth1 -s 0 -w output.txt src or dst port 80

        see What it is doing.

        Linux kernel /proc documentations for further details. Common /proc examples:

        # cat /proc/cpuinfo

        # cat /proc/meminfo

        # cat /proc/zoneinfo

        # cat /proc/mounts

        is a popular open source computer system and network monitoring application software. You can easily monitor all your hosts, network equipment and services. It can send alert when things go wrong and again when they get better. "Fully Automated Nagios". FAN goals are to provide a Nagios installation including most tools provided by the Nagios Community. FAN provides a CDRom image in the standard ISO format, making it easy to easilly install a Nagios server. Added to this, a wide bunch of tools are including to the distribution, in order to improve the user experience around Nagios.

        tool under CentOS / RHEL.

        Fig.05 KDE System Guard {Image credit: Wikipedia}

        See for detailed usage.

        Fig.06 The Gnome System Monitor application

      • 阅读(1123) | 评论(0) | 转发(0) |
        给主人留下些什么吧!~~