In terms of monitoring, tools such as vmstat, iostat, and SAR have been available before, but if you want to integrate them,
A new monitoring tool dstat has been found. The following is a brief introduction:
1 download:
Http://dag.wieers.com/rpm/packages/dstat/dstat-0.6.7-1.rh7.rf.noarch.rpm
2 Installation
3 usage:
After dstat is input, the CPU, disk, net, paging, and system are displayed.
, Once per second, can be set to once per 1 minute:
Dstat-A 1
4 Monitoring once per minute:
Date & dstat-tclmdny 60
5 dstat options:
-C, -- CPU Display CPU status
-C 0, 3, total include cpu0, cpu3 and total
-D, -- Disk: displays the disk status.
-D Total, hda include hda and total
-G, -- page enable page stats
-I, -- int enable interrupt stats
-I 5, eth2 include int5 and interrupt used by eth2
-L, -- load enable load stats
-M, -- Mem Display memory Conditions
-N, -- Net display network conditions
-N eth1, total can specify Network Interfaces
-P, -- proc enable process stats
-S, -- Swap displays swap status
-S swap1, total can specify multiple swap
-T, -- time enable time counter
-Y, -- sys enable system stats
-- IPC reports the use of IPC message queues and semaphores
-- Lock enable lock stats
-- Raw enable raw stats
-- TCP Enable TCP stats
-- UDP enable UDP stats
-- UNIX enable UNIX stats
-M STAT1, stat2 enable external stats
-- Mod STAT1, stat2
-A, -- all use-cdngy, which is displayed by default.
-F, -- full use-C,-D,-I,-N and-s display
-V, -- vmstat display with-pmgdsc-d
-- Integer show integer values
-- Nocolor disable colors (implies -- noupdate)
-- Noheaders is not displayed after only one header is displayed. It is useful when writing files with redirection.
-- Noupdate disable intermediate updates
-- Output file is written to the CVS file.