当前位置:网站首页>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
边栏推荐
- The first leg of the national tour of shengteng AI developer creation and enjoyment day was successfully held in Xi'an
- mysql_linux版本的下载及安装详解
- STM32: LCD display
- STM32: LCD显示
- ESP32 LVGL8. 1 - roller rolling (roller 24)
- Yyds dry goods inventory stringprep --- Internet string preparation
- 机器学习理论之(8):模型集成 Ensemble Learning
- os_ authent_ Prefix
- Minesweeping II of souI instance
- 7、 DOM (Part 2) - chapter after class exercises and answers
猜你喜欢

Esp32 (UART event) - serial port event learning (1)

Simplified path (force buckle 71)

Esp32 (UART ecoh) - serial port echo worm learning (2)

One of the reasons why the WebView web page cannot be opened (and some WebView problem records encountered by myself)

mysql_ Download and installation of Linux version

Raspberry pie 18b20 temperature

ctfshow-web362(SSTI)

Machine learning theory (7): kernel function kernels -- a way to help SVM realize nonlinear decision boundary

os_ authent_ Prefix

机器学习理论之(7):核函数 Kernels —— 一种帮助 SVM 实现非线性化决策边界的方式
随机推荐
Zlib realizes streaming decompression
Introduction to micro build low code zero Foundation (lesson 3)
Nacos as service registry
The type initializer for ‘Gdip‘ threw an exception
ESP32 LVGL8. 1. Detailed migration tutorial of m5stack + lvgl + IDF (27)
Esp32 (UART 485 communication) - 485 communication of serial port (3)
Feature selection feature_ selection--SelectKBest
ESP32 LVGL8. 1 - bar progress bar (bar 21)
iptables初探
Get a list of recent apps
Tangle
Sentinel服务熔断实战(sentinel整合ribbon+openFeign+fallback)
深入理解 Golang 中的 new 和 make 是什么, 差异在哪?
七、DOM(下) - 章节课后练习题及答案
简化路径(力扣71)
Sogou cell thesaurus analysis (only extract words and word frequency)
WebView saves the last browsing location
Go 语言 GUI 框架 fyne 中文乱码或者不显示的问题
ESP32 LVGL8. 1 - textarea text area (textarea 26)
Tencent map and high logo removal method