当前位置:网站首页>c1000k TCP 连接上限测试
c1000k TCP 连接上限测试
2022-04-23 18:54:00 【franket】
前言
c1000k 是一套用来测试本地OS TCP连接上限的C/S小工具。
This is the TCP server-client suit to help you test if your OS supports c1000k(1 million connections).
下面分享一下 c1000k 的基本使用方法,详细可以参阅 官方文档
概要
下载和安装
使用下面的方式安装
wget --no-check-certificate https://github.com/ideawu/c1000k/archive/master.zip
unzip master.zip
cd c1000k-master
make
安装过程
[[email protected] c1000k]# wget --no-check-certificate https://github.com/ideawu/c1000k/archive/master.zip
--2015-11-25 13:44:07-- https://github.com/ideawu/c1000k/archive/master.zip
Resolving github.com... 192.30.252.130
Connecting to github.com|192.30.252.130|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://codeload.github.com/ideawu/c1000k/zip/master [following]
--2015-11-25 13:44:09-- https://codeload.github.com/ideawu/c1000k/zip/master
Resolving codeload.github.com... 192.30.252.146
Connecting to codeload.github.com|192.30.252.146|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/zip]
Saving to: “master.zip”
[ <=> ] 3,075 --.-K/s in 0s
2015-11-25 13:44:11 (11.3 MB/s) - “master.zip” saved [3075]
[[email protected] c1000k]# ls
master.zip
[[email protected] c1000k]# du -sh master.zip
4.0K master.zip
[[email protected] c1000k]# unzip master.zip
Archive: master.zip
f435ee41fca847b71aab679fed1d9b07c979cfba
creating: c1000k-master/
extracting: c1000k-master/.gitignore
inflating: c1000k-master/Makefile
inflating: c1000k-master/README.md
inflating: c1000k-master/client.c
inflating: c1000k-master/server.c
[[email protected] c1000k]# ls
c1000k-master master.zip
[[email protected] c1000k]# cd c1000k-master/
[[email protected] c1000k-master]# ls
client.c Makefile README.md server.c
[[email protected] c1000k-master]# make
gcc -std=c99 -O2 -o server server.c
gcc -O2 -o client client.c
[[email protected] c1000k-master]#
启动服务
版权声明
本文为[franket]所创,转载请带上原文链接,感谢
https://cloud.tencent.com/developer/article/1986133
边栏推荐
- ESP32 LVGL8. 1 - img picture (IMG 20)
- Dynamically add and delete layouts
- #yyds干货盘点#stringprep --- 因特网字符串预备
- How can programmers quickly develop high-quality code?
- RPM package management
- [today in history] April 23: the first video uploaded on YouTube; Netease cloud music officially launched; The inventor of digital audio player was born
- : app: transformclasseswithrobustfordevrease meituan hot repair compilation error record
- WebView opens H5 video and displays gray background or black triangle button. Problem solved
- Xlslib use
- How about CICC wealth? Is it safe to open an account up there
猜你喜欢
C: generic reflection
Chondroitin sulfate in vitreous
ctfshow-web361(SSTI)
After opening the original normal project, the dependency package displays red and does not exist.
ESP32 LVGL8. 1. Detailed migration tutorial of m5stack + lvgl + IDF (27)
Practice of Druid SQL and security in meituan review
【C语言进阶11——字符和字符串函数及其模拟实现(2))】
Esp32 (UART event) - serial port event learning (1)
ESP32 LVGL8. 1 - arc (arc 19)
MySQL学习第五弹——事务及其操作特性详解
随机推荐
Using bafayun to control the computer
C: generic reflection
Configure iptables
Download xshell 6 and xftp6 official websites
教你用简单几个步骤快速重命名文件夹名
Summary of actual business optimization scheme - main directory - continuous update
微搭低代码零基础入门课(第三课)
Raspberry pie uses root operation, and the graphical interface uses its own file manager
Usage of functions decode() and replace() in SQL
解决:cnpm : 無法加載文件 ...\cnpm.ps1,因為在此系統上禁止運行脚本
Sentinel规则持久化进Nacos
Use of content provider
【历史上的今天】4 月 23 日:YouTube 上传第一个视频;网易云音乐正式上线;数字音频播放器的发明者出生
根据快递单号查询物流查询更新量
迁移学习进阶
机器学习理论之(8):模型集成 Ensemble Learning
12个例子夯实promise基础
Seata处理分布式事务
STM32: LCD display
listener.log