PPTP 相关命令
来源:互联网 发布:什么软件小说免费 编辑:程序博客网 时间:2024/06/05 16:48
1.ifconfig |grep ppp
查看连接的用户网络情况
2.last | grep still | grep ppp
查看连接的用户名
3.UnixBench跑分测试
#wget https://byte-unixbench.googlecode.com/files/UnixBench5.1.3.tgz
# tar -xvf UnixBench5.1.3.tgz
运行./Run
如果出现错误:Can't locate Time/HiRes.pm in @INC
安装 yum -y install perl-Time-HiRes
BYTE UNIX Benchmarks (Version 5.1.3)
System: ????: GNU/Linux
OS: GNU/Linux -- 2.6.32-042stab113.21 -- #1 SMP Wed Mar 23 11:05:25 MSK 2016
Machine: x86_64 (x86_64)
Language: en_US.utf8 (charmap="UTF-8", collate="UTF-8")
CPU 0: Intel(R) Xeon(R) CPU E5-1650 v2 @ 3.50GHz (7000.5 bogomips)
Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization
17:33:32 up 3:33, 3 users, load average: 0.00, 0.00, 0.00; runlevel 3
------------------------------------------------------------------------
Benchmark Run: Tue May 24 2016 17:33:32 - 18:01:46
1 CPU in system; running 1 parallel copy of tests
Dhrystone 2 using register variables 36861253.6 lps (10.0 s, 7 samples)
Double-Precision Whetstone 4154.3 MWIPS (9.9 s, 7 samples)
Execl Throughput 5220.5 lps (29.9 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks 597683.3 KBps (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks 179741.6 KBps (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks 1740562.3 KBps (30.0 s, 2 samples)
Pipe Throughput 1330616.4 lps (10.0 s, 7 samples)
Pipe-based Context Switching 272061.1 lps (10.0 s, 7 samples)
Process Creation 12595.4 lps (30.0 s, 2 samples)
Shell Scripts (1 concurrent) 5273.9 lpm (60.0 s, 2 samples)
Shell Scripts (8 concurrent) 673.2 lpm (60.0 s, 2 samples)
System Call Overhead 2363255.0 lps (10.0 s, 7 samples)
System Benchmarks Index Values BASELINE RESULT INDEX
Dhrystone 2 using register variables 116700.0 36861253.6 3158.6
Double-Precision Whetstone 55.0 4154.3 755.3
Execl Throughput 43.0 5220.5 1214.1
File Copy 1024 bufsize 2000 maxblocks 3960.0 597683.3 1509.3
File Copy 256 bufsize 500 maxblocks 1655.0 179741.6 1086.1
File Copy 4096 bufsize 8000 maxblocks 5800.0 1740562.3 3001.0
Pipe Throughput 12440.0 1330616.4 1069.6
Pipe-based Context Switching 4000.0 272061.1 680.2
Process Creation 126.0 12595.4 999.6
Shell Scripts (1 concurrent) 42.4 5273.9 1243.9
Shell Scripts (8 concurrent) 6.0 673.2 1121.9
System Call Overhead 15000.0 2363255.0 1575.5
========
System Benchmarks Index Score 1297.6
4.net-speeder 工具提速openVZ
wget --no-check-certificate https://gist.github.com/LazyZhu/dc3f2f84c336a08fd6a5/raw/d8aa4bcf955409e28a262ccf52921a65fe49da99/net_speeder_lazyinstall.sh
sh net_speeder_lazyinstall.sh
安装完毕之后我们可以看到最后一行,执行启动:
nohup /usr/local/net_speeder/net_speeder venet0 "ip" >/dev/null 2>&1 &
我们也可以将脚本加入到开机启动项中,这样可以确保一直在使用:
5.speedtest-cli 测速echo 'nohup /usr/local/net_speeder/net_speeder venet0 "ip" >/dev/null 2>&1 & ' >> /etc/rc.local
常用参数
list
根据距离显示speedtest.net的测试服务器列表
server
指定列表中id的服务器来做测试
share
分享你的网速,该命令会在speedtest网站上生成网速测试结果的图片
常用:
- PPTP 相关命令
- PPTP
- pptp
- PPTP
- 命令相关
- 域命令相关命令
- 在ROOT环境下 基于命令进行VPN pptp 拨号器开发
- 再看PPTP
- L2TP&PPTP
- PPTP - GRE
- PPTP客户端
- PPTP CLIENT
- PPTP-GRE
- pptp vpn
- pptp vpn
- PPTP - GRE
- ppp pptp
- PPTP - GRE
- ExtJs (3.2.0)文件目录介绍、文件删减、文件引用
- jeecg <t:formvalid>标签提交前验证 beforeSubmit
- 字典树
- awk内置函数
- mybatis解决字段名与实体类属性名不相同的冲突
- PPTP 相关命令
- Java成员变量的继承
- Sublime Text3 插件及快捷键
- 算法学习(十四)最大公约数问题
- C#委托中的协变与逆变
- iOS- 弹蒙层
- 增强学习 reinforcement learning,MDP
- LeetCode-203.Remove Linked List Elements
- tasklet机制和工作队列