接上一篇,上一篇只考虑了对rman限速,有些情况下可能需要对网卡进行限速(adg在异地,使用的网络和业务是同一根专线,防止归档暴增情况下占太多带宽) 我使用的是wondershaper工具对linux的网卡进行限速。 下载地址:https://github.com/magnific0/wondershaper 命令的简单介绍: [root@test wondershaper-master]# ./wondershaper Please supply the adapter name for the mode. USAGE: ./wondershaper [-hcs] [-a <adapter>] [-d <rate>] [-u <rate>] Limit the bandwidth of an adapter OPTIONS: -h Show this message -a <adapter> Set the adapter -d <rate> Set maximum download rate (in Kbps) and/or -u <rate> Set maximum upload rate (in Kbps) -p Use presets in "/etc/systemd/wondershaper.conf" -f <file> Use alternative preset file -c Clear the limits from adapter -s Show the current status of adapter -v Show the current version Configure HIPRIODST in "/etc/systemd/wondershaper.conf" for hosts requiring high priority i.e. in case ssh uses dport 443. MODES: wondershaper -a <adapter> -d <rate> -u <rate> wondershaper -c -a <adapter> wondershaper -s -a <adapter> EXAMPLES: wondershaper -a eth0 -d 1024 -u 512 wondershaper -a eth0 -u 512 wondershaper -c -a eth0 wondershaper -p -f foo.conf 常用的例子: #限制上传带宽为20M wondershaper -a ens33 -u 20480 #限制下载带宽为20M wondershaper -a ens33 -d 20480 #限制上传和上传均10M wondershaper -a ens33 -d 20480 -u 20480 #清除网卡限速规则 wondershaper -c -a ens33 规则不能同时配置,要配置前要先清除之前的配置。
linux网络限速(可以限制使用nfs的oracle)
来源:这里教程网
时间:2026-03-03 20:02:02
作者:
编辑推荐:
下一篇:
相关推荐
-
雷神推出 MIX PRO II 迷你主机:基于 Ultra 200H,玻璃上盖 + ARGB 灯效
2 月 9 日消息,雷神 (THUNDEROBOT) 现已宣布推出基于英
-
制造商 Musnap 推出彩色墨水屏电纸书 Ocean C:支持手写笔、第三方安卓应用
2 月 10 日消息,制造商 Musnap 现已在海外推出一款 Oce
热文推荐
- 数据库管理-第187期 23ai:怎么用SQL创建图(20240510)
数据库管理-第187期 23ai:怎么用SQL创建图(20240510)
26-03-03 - 数据库管理-第186期 23ai:啥?我还能干掉Neo4j?(20240509)
- rac asm新增磁盘报0RA-15333或ORA-15075
rac asm新增磁盘报0RA-15333或ORA-15075
26-03-03 - Oracle RAC的排障案例一则
Oracle RAC的排障案例一则
26-03-03 - 测试开发新技能:Oracle到高斯数据库的无缝迁移
测试开发新技能:Oracle到高斯数据库的无缝迁移
26-03-03 - 因Oracle 23ai,甲骨文中国罕见的开了个会
因Oracle 23ai,甲骨文中国罕见的开了个会
26-03-03 - 数据库管理-第190期 备份堪比生死(20240515)
数据库管理-第190期 备份堪比生死(20240515)
26-03-03 - 数据库管理-第180期 23ai: Cloud/Container Plus AI(20240503)
- Oracle 23ai新特性—DBMS_DICTIONARY_CHECK
Oracle 23ai新特性—DBMS_DICTIONARY_CHECK
26-03-03 - oracle怎么处理json格式
oracle怎么处理json格式
26-03-03
