Fault injection of cpu, memory, hard disk, and network card under linux

1. Download and use

Software download path:
https://github.com/chaosblade-io/chaosblade/releases/download/v0.9.0/chaosblade-0.9.0-linux-amd64.tar.gz

No need to compile and install, just unzip it and use it.

1. CPU pressure injection

Help information view:
./blade create cpu --help

Create task:

./blade create cpu fullload --cpu-list 0,1,2 --cpu-percent 90
{
    
    "code":200,"success":true,"result":"ebd75a8edfa2684f"}

Stop the task:

./blade destroy ebd75a8edfa2684f

2. Memory pressure injection

Help information view:
./blade create mem --help

Create task:

./blade create mem load --mem-percent 90
{
    
    "code":200,"success":true,"result":"6de17cf0eccc53c7"}

Stop task

./blade destroy 6de17cf0eccc53c7

3. Disk pressure injection

4. NIC fault injection

5. Process fault injection

Guess you like

Origin blog.csdn.net/sun172270102/article/details/114264715