1.uptime
This command visually shows the average load of the server over the last 15 minutes, 5 minutes, 1 minutes
2.vmstat
Output the Vmstat information every 2 seconds, output 10 times altogether.
| |
procs |
swap |
io |
system |
cpu |
| >r |
si: The capacity to swap into memory |
bi: Number of Read blocks |
in: Number of interrupts |
us: User |
|   |
b: Number of blocked processes |
so: The capacity to swap out the memory |
bo: Write to block number |
cs: Number of context switches |
sy: System |
| |
  |
  |
|
  |
id: Idle |
|   |
  |
|
  |
  |
wa: CPU |
waiting for IO to complete
3.iostat
Output Iostat information every 2 seconds, output 3 times
| Tps |
blk_read/s |
blk_wrtn/s |
Blk_read |
Blk_wrtn |
| Number of I/O requests sent to disk |
Number of blocks read per second |
Number of blocks written per second |
Total number of Read blocks |
Total number of write blocks |
Note: This command contains CPU information and disk IO information, which briefly describes several parameters for disk IO. It should be noted that the first Blk_read and BLK_WRTN are the total number of statistics, followed by the number of changes per second.
4.top
top-d 10 View the information every 10 seconds.
Contains the load information, system running time information, CPU information, process information and so on.
5.free-m
=====mem line = = =
Total: Amount of memory,
Used: Represents the number of totals that are allocated to the cache (including buffers and cache), but where a partial cache may not actually be used
Free: Unallocated memory
Buffers: Number of buffers that are allocated but not used by the system
Cached: Number of cache numbers that are allocated but not used by the system
======buffers/cache Line =====
The total amount of memory actually used in the used-buffers-cached in the Used:mem line
Free: The sum of unused buffers with cache and unallocated memory, which is the system's current actual available memory.
6.sar
The SAR command allows you to view the real-time operation of each of the server's hardware. Since some of the parameter meanings shown are similar to other commands, this is not covered in detail, it focuses on
Several parameters.
(1) sar-d display disk real-time information
(2) Sar-b View the I/O and transfer rate statistics
(3) sar-u Display CPU real-time information
(4) Sar-q view average load
(5) Sar-r View memory usage
(6) Sar-n DEV View network card traffic situation
RXPCK/S: Packets Received per second
TXPCK/S: Packets Sent per second
rxbyt/s: Number of bytes received per second
txbyt/s: Number of bytes sent per second
RXCMP/S: Compressed packets received per second
TXCMP/S: Compressed packets sent per second
RXMCST/S: Multicast packets received per second