Comments (5)
研究了下,已经设置.
//删除时区
rm -rf /etc/localtime
//设置**时区,成功后输入date,查看是否和电脑时间一致。
ln -s /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
//安装crontabs服务
yum -y install crontabs
//设置19:00开启net_speeder
echo '0 19 * * * root nohup /root/net_speeder venet0 "Your ip" >/dev/null 2>&1 &' >>/etc/crontab
//设置0:00关闭net_speeder
echo "0 0 * * * root killall net_speeder" >>/etc/crontab
from net-speeder.
高峰期和低峰期的判断标准是什么?
可以用crontab实现
from net-speeder.
用corntab,自己写个脚本好像就ok了
from net-speeder.
国内时间晚上6点以后到夜间2点这样吧,国内数据流量大的时间段开启。 其他时间感觉开启也没啥效果,而且服务端又占用2倍流量。
可以告知具体的corntab脚本吗?Linux命令完全不熟悉。
from net-speeder.
如果对Linux完全不熟悉的话,要教会你使用crontab挺困难的,毕竟你还会遇到crobtan环境变量的坑。。。google下shell脚本还有crontab,半天时间应该能搞定你的需求了。加油!
from net-speeder.
Related Issues (20)
- centos 64 6.8 kill掉net_speeder进程后,删除了net_speeder文件夹后,ssh不能链接了...
- 电脑无加速效果
- 手机电脑加速毫无效果
- 运行一段时间后出现killed HOT 14
- 为何到编译呢里就提示No such file or directory HOT 1
- net_speeder 和BBR能共存吗?还是有BBR就不需要net_speeder? HOT 3
- 提示err msg:[libnet_write_raw_ipv4(): -1 bytes written (Message too long) HOT 5
- pcap抓取的包打印信息时,怎么源IP和目的IP全部相同?
- ======
- err msg:[libnet_write_raw_ipv4(): -1 bytes written (Operation not permitted) HOT 1
- net-speeder可以加速ipv6吗 HOT 1
- 到底是ip还是"ip" HOT 2
- 应用其它 bpf 规则时报错 HOT 1
- 我想问一下 那里可以调节发包倍数? HOT 2
- 那里可以调节发包倍数?
- 求问作者考虑过发送端的丢包影响吗,以及在丢包不严重的情况下,随机采样部分包进行复制是否能更加有效的提高速度?
- src host 127.0.0.1 and src port 443,发现没有流量翻倍?
- 不懂就问 请问会对客户端有什么影响吗?比如网站的用户也是多倍流量吗 HOT 1
- 开启了netspeeder没有区别 HOT 1
- net_speeder响应与程序发包之间有巨大延迟 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from net-speeder.