Seven Week class (March 19)
10.1 Using W to view system load
10.2 vmstat Command
10.3 Top Command
10.4 SAR Command
10.5 nload Command
10.1 Using W to view system load
The main view is the system load value.
10.2 vmstat Command
Displayed once per second. Press C to terminate.
Displayed five times per second.
10.3 Top Command
Run the top command to see the system resources that the process occupies
10.4 SAR Command
If there is no SAR command to install a package, install a package.
SAR does not add parameters and options, it will default to call the system to keep a history file.
Generate a data file every 10 minutes, generate the history file, and the directory where it resides.
RXPCK thousands of normal, if greater than 10000 is not normal. You need to use the grab kit.
The date the file is, and the day it ends. The file is kept for up to 1 months.
View System Load
10.5 nload Command
Not installed by default,
To install package nload, install package eplease before installing.
After installation, run nload, the dynamic Display network card appears.
Left and RIGHT ARROW keys to switch NIC. View the bandwidth situation. Usually we buy bandwidth means out of bandwidth.
Under attack, the incoming value will be large. Outgoing is the traffic that goes out of the NIC. A large number indicates that the server is full.
Sa17 is a 2 binary file and cannot be cat.
Sar17 can be cat.
Linux Seven Week lesson (March 19) Notes