CLI Server Dynamic Monitoring Tools

 

[サーバリソース全体の概要をウォッチする] 


[top] 

言わずと知れた タスク/プロセス/Load/Cpu/Memory/Swap の概要情報を表示する

 Description : N/A

f:id:president_hanage:20140128150624p:plain

[atop]

topで表示する内容にNetwork/Disk が追加され、より詳細に表示。

Description : An advanced interactive monitor for Linux-systems to view the load on

            : system-level and process-level.

            : The command atop has some major advantages compared to other

            : performance-monitors:

            :    - Resource consumption by all processes

            :    - Utilization of all relevant resources

            :    - Permanent logging of resource utilization

            :    - Highlight critical resources

            :    - Watch activity only

            :    - Watch deviations only

            :    - Accumulated process activity per user

            :    - Accumulated process activity per program

            : For more informations: http://www.atcomputing.nl/Tools/atop

            : The package does not make use of the patches available at

            : http://www.atcomputing.nl/Tools/atop/kernpatch.html

 f:id:president_hanage:20140128150205p:plain

 [htop]

top がカラーになって新登場。

Description : htop is an interactive text-mode process viewer for Linux, similar to top(1).

f:id:president_hanage:20140128152140p:plain

[glances]

表示内容は top とほぼ変わらず。(Python で書かれいる)

Description : Glances is a CLI curses based monitoring tool for both GNU/Linux and BSD. Glances uses the PsUtil library to get information from your system. It is developed in Python.

f:id:president_hanage:20140128153234p:plain

 

[ディスク/ファイルに関するリソースの詳細をウォッチする]


 [iotop]

ディスクI/O 発生量をプロセスと共にリスト表示する

Description : Linux has always been able to show how much I/O was going on

            : (the bi and bo columns of the vmstat 1 command).

            : iotop is a Python program with a top like UI used to

            : show of behalf of which process is the I/O going on.

f:id:president_hanage:20140128154236p:plain

[ftop]

プロセスで使用しているファイルをツリー形式で表示

Description : Ftop is to files what top is to processes. The progress of all open files

            : file systems can be monitored.

            : The selection of which files to display is possible through

            : a wide assortment of options. As with top, the items are displayed in

            : order from most to least active.

f:id:president_hanage:20140128154544p:plain

 

[ネットワークに関するリソースの詳細をウォッチする]


[iftop]

ネットワークトラフィック量に関する表示

Description : iftop does for network usage what top(1) does for CPU usage. It listens to

            : network traffic on a named interface and displays a table of current bandwidth

            : usage by pairs of hosts. Handy for answering the question "why is our ADSL link

            : so slow?".

f:id:president_hanage:20140128161550p:plain

[jnettop]

iftop よりちょっとだけ詳細に。

Description : Nettop is visualising active network traffic as top does with processes.

            : It displays active network streams sorted by bandwidth used. This is

            : often usable when you want to get a fast grip of what is going on on your

            : outbound router.

f:id:president_hanage:20140128162041p:plain

[ntop] 

これはいいや

[netstat]

watchと組み合わせて $ watch netstat -lnput な感じ

 [カーネルに関するリソースの詳細をウォッチする]


 [slabtop]

カーネル slab キャッシュ情報を表示する

Description : N/A

f:id:president_hanage:20140128162515p:plain