Four Linux server monitoring tools

原文地址:http://aarvik.dk/four-linux-server-monitoring-and-management-tools/

Here is four strong monitoring tools i would like to present for you.

htop - interactive process viewer

You may know the standard tool for watching real time processes on your machine top. If not, run $ top to see it in action, and $ man top to read the manual.

The htop is a widely extended version of top, with a big overview (eg. full commands, visualization, gui and ui), a mouse-clicking interaction, and a lot of guidance on how to do process management.

Install it and try it out: 
$ sudo apt-get install htop

Screenshot: 

- From my OS X terminal in my Debian 7 box

iotop - simple top-like I/O monitor

Iotop is a real-time monitor for IO. It displays information about each process thread in your system with their belonging detailed input and output (IO) usage.

This can be used together with $ tcpdump which respond with network traffic. If you can see that something is going on with your web server you can eg. check your port 80 (standard http port) networks traffics by running $ tcpdump port 80 to see details.

The most useful information is probably the DISK WRITE column, where you can see exactly how much process in K/s each IO uses.

Install it and try it out: 
$ sudo apt-get install iotop

Screenshot: 

apachetop - display real-time web server statistics

Apachetop displays a realtime table with http requests to your Apache webserver.

It displays stats, hits, requests, request details, and is good to get an overview for what is happening on your web server right now.

If you use Nginx there is similar tools, but seems like they are not as detailed as apachetop.

Install it and try it out: 
$ sudo apt-get install apachetop

Screenshot: 

Glances - CLI curses based monitoring tool

Glances displays columns in separated tables for various useful real-time data about what is going on on your machine. Glances aims to show as much information as possible on a minimum of space, and i think it's goal is fully reached.

Glances monitor PerCPU, Load, Memory, Swap, Network, Disk i/O, Mount data and processes, with limited interaction possibilities and deep information, but is abosolutely perfect to get an big overview.

Install it and try it out: 
$ sudo apt-get install glances

Screenshot: 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值