Sysbench常用命令

article/2025/9/27 12:56:52

1 Sysbench

安装

requirements

 yum -y install make automake libtool pkgconfig libaio-devel# For MySQL support, replace with mysql-devel on RHEL/CentOS 5yum -y install mariadb-devel openssl-devel mysql-devel# For PostgreSQL supportyum -y install postgresql-devel

compile

wget https://github.com/akopytov/sysbench/archive/1.0.16.tar.gz
./autogen.sh
# Add --with-pgsql to build with PostgreSQL support
./configure --with-pgsql --prefix=/home/mingjie.gmj/bin/sysbench-1.0.16
make -sj64
make install

run

$ sysbench --version
sysbench 1.0.16

参数

$ sysbench --help
Usage:sysbench [options]... [testname] [command]
  • command

    command是sysbench要执行的命令,包括prepare、run和cleanup,顾名思义,prepare是为测试提前准备数据,run是执行正式的测试,cleanup是在测试完成后对数据库进行清理。

  • testname

    testname指定了要进行的测试,在老版本的sysbench中,可以通过–test参数指定测试的脚本;而在新版本中,–test参数已经声明为废弃,可以不使用–test,而是直接指定脚本。

    # 等价
    sysbench --test=./tests/include/oltp_legacy/oltp.lua
    sysbench ./tests/include/oltp_legacy/oltp.lua
    

    测试时使用的脚本为lua脚本,可以使用sysbench自带脚本,也可以自己开发。对于大多数应用,使用sysbench自带的脚本就足够了。不同版本的sysbench中,lua脚本的位置可能不同,可以自己在sysbench路径下使用find命令搜索oltp.lua。

  • options

    sysbench的参数有很多,其中比较常用的包括:

    MySQL连接信息参数

    • –mysql-host:MySQL服务器主机名,默认localhost;如果在本机上使用localhost报错,提示无法连接MySQL服务器,改成本机的IP地址应该就可以了。
    • –mysql-port:MySQL服务器端口,默认3306
    • –mysql-user:用户名
    • –mysql-password:密码

    MySQL执行参数

    • –oltp-test-mode:执行模式,包括simple、nontrx和complex,默认是complex。simple模式下只测试简单的查询;nontrx不仅测试查询,还测试插入更新等,但是不使用事务;complex模式下测试最全面,会测试增删改查,而且会使用事务。可以根据自己的需要选择测试模式。
    • –oltp-tables-count:测试的表数量,根据实际情况选择
    • –oltp-table-size:测试的表的大小,根据实际情况选择
    • –threads:客户端的并发连接数
    • –time:测试执行的时间,单位是秒,该值不要太短,可以选择120
    • –report-interval:生成报告的时间间隔,单位是秒,如10

测试

CPU基准测试

$ cat /proc/cpuinfo
processor	: 63
vendor_id	: GenuineIntel
cpu family	: 6
model		: 79
model name	: Intel(R) Xeon(R) CPU E5-2682 v4 @ 2.50GHz
stepping	: 1
cpu MHz		: 2494.479
cache size	: 40960 KB$ sysbench cpu --cpu-max-prime=20000 run
sysbench 1.0.16 (using bundled LuaJIT 2.1.0-beta2)Running the test with following options:
Number of threads: 1
Initializing random number generator from current timePrime numbers limit: 20000Initializing worker threads...Threads started!CPU speed:events per second:   320.33General statistics:total time:                          10.0032stotal number of events:              3205Latency (ms):min:                                    3.11avg:                                    3.12max:                                    3.9495th percentile:                        3.13sum:                                10001.38Threads fairness:events (avg/stddev):           3205.0000/0.00execution time (avg/stddev):   10.0014/0.00

IO基准测试

测试混合随机读写:rndrw

顺序写入:seqwr

顺序重写:seqrewr

顺序读取:seqrd

随机读取:rndrd

随机写入:rndwr

混合随机读写:rndnrw

Disk1:SSD
#smartctl --all /dev/sda...
User Capacity:    340,076,814,336 bytes [340 GB]
Sector Sizes:     512 bytes logical, 4096 bytes physical
...

50G数据测试

$ sysbench --test=fileio --file-total-size=50G prepare
$ sysbench --test=fileio --file-total-size=50G --file-test-mode=rndrw --time=300 --events=0 runWARNING: the --test option is deprecated. You can pass a script name or path on the command line without any options.
sysbench 1.0.16 (using bundled LuaJIT 2.1.0-beta2)Running the test with following options:
Number of threads: 1
Initializing random number generator from current timeExtra file open flags: (none)
128 files, 400MiB each
50GiB total file size
Block size 16KiB
Number of IO requests: 0
Read/Write ratio for combined random IO test: 1.50
Periodic FSYNC enabled, calling fsync() each 100 requests.
Calling fsync() at the end of test, Enabled.
Using synchronous I/O mode
Doing random r/w test
Initializing worker threads...Threads started!File operations:reads/s:                      6531.22writes/s:                     4354.15fsyncs/s:                     13933.44Throughput:read, MiB/s:                  102.05written, MiB/s:               68.03General statistics:total time:                          300.0059stotal number of events:              7445716Latency (ms):min:                                    0.00avg:                                    0.04max:                                    8.5695th percentile:                        0.06sum:                               297668.65Threads fairness:events (avg/stddev):           7445716.0000/0.00execution time (avg/stddev):   297.6686/0.00$ sysbench fileio --file-total-size=50G cleanup
Disk2:HDD
#smartctl --all /dev/sdb...
User Capacity:    8,001,563,222,016 bytes [8.00 TB]
Sector Sizes:     512 bytes logical, 4096 bytes physical
Rotation Rate:    7200 rpm
...

50G数据测试

$ sysbench --test=fileio --file-total-size=50G prepare
$ sysbench --test=fileio --file-total-size=50G --file-test-mode=rndrw --time=300 --events=0 run
WARNING: the --test option is deprecated. You can pass a script name or path on the command line without any options.
sysbench 1.0.16 (using bundled LuaJIT 2.1.0-beta2)Running the test with following options:
Number of threads: 1
Initializing random number generator from current timeExtra file open flags: (none)
128 files, 400MiB each
50GiB total file size
Block size 16KiB
Number of IO requests: 0
Read/Write ratio for combined random IO test: 1.50
Periodic FSYNC enabled, calling fsync() each 100 requests.
Calling fsync() at the end of test, Enabled.
Using synchronous I/O mode
Doing random r/w test
Initializing worker threads...Threads started!File operations:reads/s:                      600.53writes/s:                     400.36fsyncs/s:                     1281.15Throughput:read, MiB/s:                  9.38written, MiB/s:               6.26General statistics:total time:                          300.0311stotal number of events:              684559Latency (ms):min:                                    0.00avg:                                    0.44max:                                  543.7895th percentile:                        0.01sum:                               299828.29Threads fairness:events (avg/stddev):           684559.0000/0.00execution time (avg/stddev):   299.8283/0.00
SSD和HDD的对比
型号R/W Throughput(MiB/s)total time(50G)Total numer of events
INTEL SSDSCKHB340G4102.05 / 68.03300.0059s7445716
ST8000NM0055-1RM1129.38 / 6.26300.0311s684559

OLTP基准测试方法

mysql参数(HDD硬盘64核CPU)

[mysqld]
innodb_buffer_pool_size = 128M
basedir = /home/mingjie.gmj/databases/mysql5400
datadir = /home/mingjie.gmj/databases/data/mydata5400
port = 5400
server_id = 06700000
socket = /home/mingjie.gmj/databases/data/mydata5400/mysql5400.sock
join_buffer_size = 128M
sort_buffer_size = 2M
read_rnd_buffer_size = 2M
log_bin = mysql-bin

准备数据(默认使用数据库sbtest)

sysbench oltp_common --threads=64 --events=0 --mysql-socket=/home/mingjie.gmj/databases/data/mydata5400/mysql5400.sock --mysql-user=jackgo --mysql-password=333 --tables=10 --table_size=1000000 prepare
64线程10分钟
sysbench oltp_read_write --threads=64 --events=0 --mysql-socket=/home/mingjie.gmj/databases/data/mydata5400/mysql5400.sock --mysql-user=jackgo --mysql-password=333 --mysql-db=sbtest --tables=10 --table_size=1000000 --time=600 --report-interval=1 run > ./64.logSQL statistics:queries performed:read:                            2004898write:                           572828other:                           286414total:                           2864140transactions:                        143207 (238.55 per sec.)queries:                             2864140 (4770.94 per sec.)ignored errors:                      0      (0.00 per sec.)reconnects:                          0      (0.00 per sec.)General statistics:total time:                          600.3291stotal number of events:              143207Latency (ms):min:                                    4.49avg:                                  268.20max:                                 3120.5195th percentile:                      846.57sum:                             38407832.31Threads fairness:events (avg/stddev):           2237.6094/25.40execution time (avg/stddev):   600.1224/0.03
128线程10分钟
sysbench oltp_read_write --threads=128 --events=0 --mysql-socket=/home/mingjie.gmj/databases/data/mydata5400/mysql5400.sock --mysql-user=jackgo --mysql-password=333 --mysql-db=sbtest --tables=10 --table_size=1000000 --time=600 --report-interval=1 run > ./128.log
SQL statistics:queries performed:read:                            2998604write:                           856744other:                           428372total:                           4283720transactions:                        214186 (356.69 per sec.)queries:                             4283720 (7133.88 per sec.)ignored errors:                      0      (0.00 per sec.)reconnects:                          0      (0.00 per sec.)General statistics:total time:                          600.4736stotal number of events:              214186Latency (ms):min:                                    6.18avg:                                  358.83max:                                 3474.2395th percentile:                     1149.76sum:                             76856235.74Threads fairness:events (avg/stddev):           1673.3281/20.67execution time (avg/stddev):   600.4393/0.05
256线程10分钟
sysbench oltp_read_write --threads=256 --events=0 --mysql-socket=/home/mingjie.gmj/databases/data/mydata5400/mysql5400.sock --mysql-user=jackgo --mysql-password=333 --mysql-db=sbtest --tables=10 --table_size=1000000 --time=600 --report-interval=1 run > ./256.log
SQL statistics:queries performed:read:                            3312344write:                           946384other:                           473192total:                           4731920transactions:                        236596 (393.76 per sec.)queries:                             4731920 (7875.11 per sec.)ignored errors:                      0      (0.00 per sec.)reconnects:                          0      (0.00 per sec.)General statistics:total time:                          600.8682s...skipping one lineLatency (ms):min:                                    5.96avg:                                  649.49max:                                 6085.7795th percentile:                     1903.57sum:                            153665561.59Threads fairness:events (avg/stddev):           924.2031/13.66execution time (avg/stddev):   600.2561/0.22
512线程10分钟
sysbench oltp_read_write --threads=512 --events=0 --mysql-socket=/home/mingjie.gmj/databases/data/mydata5400/mysql5400.sock --mysql-user=jackgo --mysql-password=333 --mysql-db=sbtest --tables=10 --table_size=1000000 --time=600 --report-interval=1 run > ./512.log
SQL statistics:queries performed:read:                            2910740write:                           831640other:                           415820total:                           4158200transactions:                        207910 (345.89 per sec.)queries:                             4158200 (6917.72 per sec.)ignored errors:                      0      (0.00 per sec.)reconnects:                          0      (0.00 per sec.)General statistics:total time:                          601.0922stotal number of events:              207910Latency (ms):min:                                    8.11avg:                                 1478.86max:                                20588.4995th percentile:                     3326.55sum:                            307470559.14Threads fairness:events (avg/stddev):           406.0742/27.49execution time (avg/stddev):   600.5284/0.28

cleanup

sysbench oltp_common --threads=64 --events=0 --mysql-socket=/home/mingjie.gmj/databases/data/mydata5400/mysql5400.sock --mysql-user=jackgo --mysql-password=333 --tables=10 --table_size=1000000 cleanup
结合Gunplot输出结果图

安装

https://cfhcable.dl.sourceforge.net/project/gnuplot/gnuplot/5.2.6/gnuplot-5.2.6.tar.gz
./configure --prefix=/home/mingjie.gmj/bin/gunplot/
make -sj64
make install

技巧

set datafile separator <string> 指定自己的分隔符
set datafile commentschar 指定除了 # 之外的注释字符

使用

set grid
set xlabel "collection time"
set xrange[0:600]
set ylabel "qps"
set yrange[0:35000]
plot "64.log" using 2:9 with line linecolor 1 linewidth 1 title "64 threads",\
"128.log" using 2:9 with line linecolor 2 linewidth 1 title "128 threads",\
"256.log" using 2:9 with line linecolor 5 linewidth 1 title "256 threads",\
"512.log" using 2:9 with linespoints linecolor 4 linewidth 1 pointtype 7 pointsize 1 title "512 threads"set grid
set xlabel "collection time"
set xrange[0:600]
set ylabel "qps"
set yrange[0:35000]
plot "64.log" using 2:9 w l lc 1 lw 1 title "64 threads",\
"128.log" using 2:9 w l lc 2 lw 1 title "128 threads",\
"256.log" using 2:9 w l lc 5 lw 1 title "256 threads",\
"512.log" using 2:9 w lp lc 7 lw 1 pt 1 ps 1 title "512 threads"

在这里插入图片描述
曲线平滑

拟合

https://blog.csdn.net/liyuanbhu/article/details/7574193?utm_source=blogkpcl12

set grid
set xlabel "collection time"
set xrange[0:600]
set ylabel "qps"
set yrange[0:35000]
plot "64.log" using 2:9 w l lc 1 lw 1 title "64 threads" smooth acsplines,\
"128.log" using 2:9 w l lc 2 lw 1 title "128 threads" smooth acsplines,\
"256.log" using 2:9 w l lc 5 lw 1 title "256 threads" smooth acsplines,\
"512.log" using 2:9 w lp lc 7 lw 1 pt 1 ps 1 title "512 threads" smooth acsplinesset grid
set xlabel "collection time"
set xrange[0:600]
set ylabel "qps"
set yrange[0:35000]
plot "64.log" using 2:9 w l lc 1 lw 1 title "64 threads" smooth sbezier,\
"128.log" using 2:9 w l lc 2 lw 1 title "128 threads" smooth sbezier,\
"256.log" using 2:9 w l lc 5 lw 1 title "256 threads" smooth sbezier,\
"512.log" using 2:9 w lp lc 7 lw 1 pt 1 ps 1 title "512 threads" smooth sbezier

在这里插入图片描述

set grid
set xlabel "collection time"
set xrange[0:600]
set ylabel "qps"
plot "pgsql_p128_0.log" using 2:9 w l lc 1 lw 1 title "[0] threads" smooth sbezier,\
"pgsql_p128_1.log" using 2:9 w l lc 2 lw 1 title "[1] threads" smooth sbezier

2 测试指标

吞吐量

TPCC、TPCH,单位常用TPS

响应时间、延迟

包括平均响应时间、最小响应时间、最大响应时间、时间百分比等,其中时间百分比参考意义较大,如前95%的请求的最大响应时间

并发性

同时处理的查询请求的数量

可扩展性

placeholder

3 测试脚本

MYSQL测试数据收集脚本

mytest.sh

#!/bin/shINTERNAL=5
PREFIX=$INTERNAL-sec-status
RUNFILE=/tmp/bm_running
MYPREFIX='mysql -S /home/mingjie.gmj/databases/data/mydata5400/mysql5400.sock -uroot -e'
$MYPREFIX 'SHOW GLOBAL VARIABLES' >> mysql-variables
while test -e $RUNFILE; dofile=$(date +%F_%I)sleep $INTERNALts="$(date +"TS %s.%N %F %T")"loadavg="$(uptime)"echo "$ts $loadavg"            >> $PREFIX-${file}-status$MYPREFIX 'SHOW GLOBAL STATUS' >> $PREFIX-${file}-status &echo "$ts $loadavg"                 >> $PREFIX-${file}-processlist$MYPREFIX 'SHOW FULL PROCESSLIST\G' >> $PREFIX-${file}-processlist &echo "$ts $loadavg"                     >> $PREFIX-${file}-innodbstatus$MYPREFIX 'SHOW ENGINE INNODB STATUS\G' >> $PREFIX-${file}-innodbstatus &echo $ts
done
echo Exiting because $RUNFILE does not exist.

4 常用命令

本地测试

sysbench oltp_common --mysql-socket=mysql.sock --mysql-port=5470 --mysql-user=root --mysql-db=benchdb --db-driver=mysql  --tables=4 --table-size=1000000 --report-interval=1 --threads=4 prepare

常规灌数

sysbench oltp_common --mysql-host=xxx --mysql-port=90 --mysql-user=xxx --mysql-password=xxx --mysql-db=xxx --db-driver=mysql  --tables=1 --table-size=100000000 --report-interval=1 --threads=32 prepare

insert写入测试

 nohup sysbench oltp_insert run --mysql-host=xxx --mysql-port=90 --mysql-user=xxx --mysql-password=xxx --mysql-db=xxx --db-driver=mysql --auto_inc=off --rand-type=uniform --threads=128 --report-interval=1 --tables=32 --time=999999999 > tmp8 2>&1 &

批量写入测试


sysbench bulk_insert prepare --mysql-host=xxx --mysql-port=90 --mysql-user=xxx --mysql-password=xxx --mysql-db=xxx --db-driver=mysql --rand-type=uniform --threads=64sysbench bulk_insert run --mysql-host=xxx --mysql-port=90 --mysql-user=xxx --mysql-password=xxx --mysql-db=xxx --db-driver=mysql --rand-type=uniform --report-interval=1 --threads=64 --time=100000000

http://chatgpt.dhexx.cn/article/j9wUUod8.shtml

相关文章

sysbench性能测试

sysbench的官网地址是&#xff1a;http&#xff1a;//sysbench.sourceforge.net Step 1&#xff1a; 下载安装&#xff1a; sysbench-0.5.tar.gz 解压后展开目录如下 [rootlocalhost mnt]# cd sysbench-0.5 [rootlocalhost sysbench-0.5]# ls aclocal.m4 autom4te.cache c…

mysql sysbench_MySQL sysbench基准测试

一、基准测试 参考《高性能 MySQL》第二章。 二、Sysbench sysbench 是开源的跨平台多线程基准测试工具&#xff0c;主要用于测试各种不同系统参数下的 CPU/内存/线程/IO/数据库等方面的性能&#xff0c;数据库目前支持 MySQL/Oracle/PostgreSQL。具体的参数设置&#xff0c;应…

sysbench mysql图表_sysbench_mysql

ref 测试 当执行下面这个sysbench测试mysql的时候&#xff0c;你不知道的可能可能是&#xff1a; 这到底是在测试读写&#xff1f;还是 读&#xff1f; 答&#xff1a; 只读 --num-threads12 啥意思&#xff1f; 答&#xff1a;就是说有12个线程在同时链接 你可以看到&#xff…

性能测试之sysbench

本期是写的测试mysql的性能测试&#xff0c;本人也是第一次接触mysql的性能&#xff0c;拿到这个任务时也是多方1查询资料&#xff0c; sysbench压力测试工具简介&#xff1a; sysbench是一个开源的、模块化的、跨平台的多线程性能测试工具&#xff0c;可以用来进行CPU、内存…

sysbench数据库压测工具详解与实战

sysbench是一个基于LuaJIT脚本的多线程基准测试工具。2004年由Peter Zaitsev&#xff08;Percona公司创始人&#xff09;开发&#xff0c;在其0.5版本中可以使用Lua脚本实现OLTP测试。2016年重构了sysbench代码&#xff0c;并在2017年2月针对新的硬件环境发布了1.0版本&#xf…

sysbench 介绍

sysbench介绍 参考博客&#xff1a; sysbench - 老僧观天下 - 博客园 sysbench 压测 详解_俗人linux_51CTO博客 sysbench工具使用 - ZhenXing_Yu - 博客园 |QQ:327488733qq.com sysbench使用指南 - AhaoMu - 博客园 MySql性能测试工具-sysbench_oahz4699092zhao的专栏-CS…

Linux性能优化(二)——sysbench压力测试工具

一、sysbench简介 1、sysbench简介 sysBench是一个模块化的、跨平台、多线程基准测试工具&#xff0c;主要用于评估测试各种不同系统参数下的数据库负载情况。sysbench提供如下测试&#xff1a; &#xff08;1&#xff09;CPU性能 &#xff08;2&#xff09;磁盘IO性能 &…

CScope for programmer

http://bbs.sjtu.edu.cn/bbs0an,path,%2Fgroups%2FGROUP_3%2FGNULinux%2FSoftware%2FD95E89182%2FD5277E56B.html8、Cscope 的使用这下更厉害了, 用Cscope自己的话说 - "你可以把它当做是超过频的ctags", 其功能和强大程度可见一斑吧, 关于它的介绍我就不详细说了, …

CSP安全策略

介绍 内容安全策略 (CSP) 是一个附加的安全层&#xff0c;用于帮助检测和缓解某些类型的攻击&#xff0c;包括跨站脚本 (XSS) 和数据注入等攻击。 这些攻击可用于实现从数据窃取到网站破坏或作为恶意软件分发版本等用途。 启动方式 1. 浏览器客户端启动 <meta http-equi…

seccompptcl(pwn出题)

详细细节看这篇 https://www.anquanke.com/post/id/208364#h2-2 沙箱可以禁用一些系统调用&#xff0c;还是比较常见的感觉。 seccomp 下面这段代码用seccomp沙箱来禁用 安装相应库 sudo apt-get install libseccomp-dev具体参数啥的就不多讲了。。。看大佬的博客就行。 …

CSplitterWnd

MFC支持两种类型的拆分窗口&#xff1a;静态的和动态的。 静态拆分窗口的行列数在拆分窗口被创建时就设置好了&#xff0c;用户不能更改。但是用户可以缩放各行各列。一个静态拆分窗口最多可以包含16行16列。 要找一个使用了静态拆分窗口的应用程序&#xff0c;只要看一下windo…

【UNIX网络编程】|【07】SCTP协议探究

文章目录 1、概述2、接口模型2.1 一到一形式2.2 一到多形式 3、sctp_bindx函数4、sctp_connectx函数5、sctp_getpaddrs函数6、sctp_freepaddrs函数7、sctp_getladdrs函数8、sctp_freelpaddrs9、sctp_sendmsg10、sctp_recvmsg11、sctp_opt_info12、sctp_peeloff函数13、shudown1…

C++网络编程-tcpip协议

目录 1 tcp/ip协议族 1.1 体系结构以及主要协议 1.2 封装 1.3 分用 1.4 测试网络 1.5 arp协议工作原理 1.6 dns工作原理 1.7 socket和tcp/ip协议族的关系 2 ip协议详解 2.1 ip服务特点 2.2 ipv4头部结构 2.3 ip分片 2.4 ip路由 3 tcp协议详解 3.1 tcp服务的特点…

CSP绕过

01 比赛中常见的绕过CSP csp例子&#xff1a; <meta http-equiv"Content-Security-Policy" content"script-src self; object-src none; style-src cdn.example.org third-party.org; child-src https:">目前在比赛中常见的绕过 CSP 一般是: scri…

CS的使用

1&#xff09;首先创建服务端 命令&#xff1a;teamserver 192.168.71.130(主机IP) 123456&#xff08;随便设&#xff09; teamserver 192.168.71.130 123456 >/dev/null 2>&1 & (命令隐藏后台&#xff0c;jobs查看后台&#xff0c;客户端同理&#xff0c;在st…

C/C++Unix网络编程-IPC简介

IPC是进程间通信的简称。 进程、线程与信息共享 Unix进程间的信息共享的方式&#xff1a; (1) 左边的两个进程共享存留于文件系统中某个文件上的某些信息。为访问这些信息、每个进程都得穿越内核(例如read、write、lseek等)。当一个文件有待更新时&#xff0c;某种形式的同步…

CTP For Python

GitHub地址&#xff1a;https://github.com/shizhuolin/PyCTP 这是程序化期货交易上期ctp接口版本.将其包装为python版本. 支持python3 编译需求:vs2010/gcc 编译方法 python setup.py build PyCTP 编译方法 开发环境&#xff1a;windows 10 64bit, python 3.4.3 32bit, Visu…

CSP-S 2021

[CSP-S 2021] 括号序列 题目描述 小 w 在赛场上遇到了这样一个题&#xff1a;一个长度为 n n n 且符合规范的括号序列&#xff0c;其有些位置已经确定了&#xff0c;有些位置尚未确定&#xff0c;求这样的括号序列一共有多少个。 身经百战的小 w 当然一眼就秒了这题&#x…

CyberSploit:1

一、环境搭建 靶机下载地址&#xff1a;https://www.vulnhub.com/entry/cybersploit-1,506/ 二、漏洞复现 探测靶机ip地址&#xff0c;得到靶机IP地址 nmap扫描服务以及端口&#xff0c;发现80和22端口 访问80端口&#xff0c;看到一个页面&#xff0c;查看源码未发现东西 …

[网络安全]dSploit-Android系统下的网络分析和渗透套件的使用

一、准备工作 一台已经获得root权限的安卓手机&#xff0c;并且安卓系统版本在 2.3 以上 busyBox 安装软件 下载地址 BusyBox 是一个集成了一百多个最常用linux命令和工具的软件。&#xff3b;百度百科&#xff3d; 安装这个软件主要是为dsploit软件的运行提供 linux 中…