赞
踩
nload // 查看网络流量
iostat -d -x -k 1// 查看磁盘IO
top //查看进程占用系统资源
df //查看磁盘已占用资源大小
// redis清除
redis-cli -h 192.168.10.41 -p 6379
select 12
flushdb
mysql 线程池优化
mysqlslap // 测试MYSQL压力
mysqlslap --user=root --password=12345 --concurrency=100 --number-int-cols=5 --number-char=clos=20 --number-of-queries=1000 --auto-generate-sql
Benchmark
Average number of seconds to run all queries: 2.059 seconds
Minimum number of seconds to run all queries: 2.059 seconds
Maximum number of seconds to run all queries: 2.059 seconds
Number of clients running queries: 100
Average number of queries per client: 10
// 实时查看网卡网络流量
bmon
// 查看具体网络流向,如:IP1--->IP2
iftop(安装:https://blog.csdn.net/gaojinshan/article/details/40781241)
//动态观察系统执行状况
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。