{"id":15039584,"url":"https://github.com/spiritlhls/ecs","last_synced_at":"2025-05-13T19:10:43.999Z","repository":{"id":37047720,"uuid":"501535202","full_name":"spiritLHLS/ecs","owner":"spiritLHLS","description":"VPS融合怪服务器测评项目(VPS Fusion Monster Server Test Script) 更推荐使用无环境依赖的=\u003ehttps://github.com/oneclickvirt/ecs","archived":false,"fork":false,"pushed_at":"2025-04-12T16:38:14.000Z","size":62116,"stargazers_count":5201,"open_issues_count":0,"forks_count":437,"subscribers_count":22,"default_branch":"main","last_synced_at":"2025-04-28T01:51:47.091Z","etag":null,"topics":["almalinux","arch","astralinux","bench-script","benchmark","cdn","centos","checker","debian","fedora","freebsd","ipv6","lemonbench","openai","oracle-linux","rockylinux","speedtest","sysbench","ubuntu","vps"],"latest_commit_sha":null,"homepage":"https://t.me/vps_reviews","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/spiritLHLS.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":null,"patreon":null,"open_collective":null,"ko_fi":"spiritlhl","tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"lfx_crowdfunding":null,"custom":null}},"created_at":"2022-06-09T06:42:46.000Z","updated_at":"2025-04-27T14:35:31.000Z","dependencies_parsed_at":"2023-10-03T06:33:34.043Z","dependency_job_id":"4fec7394-edef-43b2-945b-9b83d31447c3","html_url":"https://github.com/spiritLHLS/ecs","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spiritLHLS%2Fecs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spiritLHLS%2Fecs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spiritLHLS%2Fecs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spiritLHLS%2Fecs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/spiritLHLS","download_url":"https://codeload.github.com/spiritLHLS/ecs/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254010823,"owners_count":21998993,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["almalinux","arch","astralinux","bench-script","benchmark","cdn","centos","checker","debian","fedora","freebsd","ipv6","lemonbench","openai","oracle-linux","rockylinux","speedtest","sysbench","ubuntu","vps"],"created_at":"2024-09-24T20:43:22.592Z","updated_at":"2025-05-13T19:10:43.962Z","avatar_url":"https://github.com/spiritLHLS.png","language":"Shell","funding_links":["https://ko-fi.com/spiritlhl"],"categories":[],"sub_categories":[],"readme":"# ecs\n\n[![Hits](https://hits.spiritlhl.net/ecs.svg?action=hit\u0026title=Hits\u0026title_bg=%23555555\u0026count_bg=%2324dde1\u0026edge_flat=false)](https://hits.spiritlhl.net)\n\n## 语言\n\n[中文文档](README.md) | [English Docs](README_EN.md) | [日本語ドキュメント](README_JP.md)\n\n## 前言\n\n**如果遇到以下情况：**\n- **本项目未列出的系统/架构**\n- **本项目测试有BUG测不出来**\n- **测试不想要魔改本机配置想要最小化环境变动**\n- **想要测试更全面**\n\n**请尝试 [https://github.com/oneclickvirt/ecs](https://github.com/oneclickvirt/ecs) 进行测试**\n\n### 兼容性信息\n\n| 类别 | 支持选项 |\n|----------|------------------|\n| **完全支持的系统** | Ubuntu 18+, Debian 8+, Centos 7+, Fedora 33+, Almalinux 8.5+, OracleLinux 8+, RockyLinux 8+, AstraLinux CE, Arch |\n| **半支持系统** | FreeBSD (前提已执行 `pkg install -y curl bash`)，Armbian |\n| **支持架构** | amd64 (x86_64)、arm64、i386、arm |\n| **支持地域** | **能连得上网都支持** |\n\n**注意：** 考虑到多系统多架构的普遍测试的需求，融合怪的Shell版本不再做新功能开发，仅作维护，各项测试已重构为Golang版本 ([https://github.com/oneclickvirt/ecs](https://github.com/oneclickvirt/ecs))，尽量无额外的环境依赖，完全无第三方shell文件引用。\n\n# 目录\n- [前言](#前言)\n- [目录](#目录)\n- [融合怪测评脚本](#融合怪测评脚本)\n  - [部分服务器运行测试有各类bug一键修复后再测试](#部分服务器运行测试有各类bug一键修复后再测试)\n  - [更新](#更新)\n  - [融合怪命令](#融合怪命令)\n    - [交互形式](#交互形式)\n    - [无交互形式-参数模式](#无交互形式-参数模式)\n  - [IP质量检测](#ip质量检测)\n  - [融合怪说明](#融合怪说明)\n  - [融合怪功能](#融合怪功能)\n- [友链](#友链)\n  - [测评频道](#测评频道)\n    - [https://t.me/vps\\_reviews](#httpstmevps_reviews)\n  - [自动更新测速服务器节点列表的网络基准测试脚本](#自动更新测速服务器节点列表的网络基准测试脚本)\n    - [https://github.com/spiritLHLS/ecsspeed](#httpsgithubcomspiritlhlsecsspeed)\n- [脚本概况](#脚本概况)\n- [Stargazers over time](#stargazers-over-time)\n- [致谢](#致谢)\n\n\u003ca id=\"top\"\u003e\u003c/a\u003e\n------\n\u003ca id=\"artical_1\"\u003e\u003c/a\u003e\n\n# 融合怪测评脚本\n\n## 部分服务器运行测试有各类bug一键修复后再测试\n\n一键修复各种系统原生bug的仓库：\n\nhttps://github.com/spiritLHLS/one-click-installation-script\n\n如若还有系统bug请到上面仓库的issues反馈，脚本原生BUG该仓库issues反馈\n\n## 更新\n\n2025.04.12\n\n- 根据 https://github.com/oneclickvirt/backtrace 更新，添加对IPV6路由的线路检测\n- 修复当出现内核错误时，测速不再继续尝试执行\n- 修改测速优先级测速，优先使用go版本重构的测速，避免官方编译的内核版本问题\n- 修复当 /dev/null 不可用时，依然测试IO的问题\n- 修复当子网掩码为128时还进行ipv6的子网掩码长度测试的问题\n\n历史更新日志：[跳转](https://github.com/spiritLHLS/ecs/blob/main/CHANGELOG.md)\n\n## 融合怪命令\n\n### 交互形式\n\n```bash\ncurl -L https://gitlab.com/spiritysdx/za/-/raw/main/ecs.sh -o ecs.sh \u0026\u0026 chmod +x ecs.sh \u0026\u0026 bash ecs.sh\n```\n\n或\n\n```bash\ncurl -L https://github.com/spiritLHLS/ecs/raw/main/ecs.sh -o ecs.sh \u0026\u0026 chmod +x ecs.sh \u0026\u0026 bash ecs.sh\n```\n\n或\n\n```\nbash \u003c(wget -qO- bash.spiritlhl.net/ecs)\n```\n\n或\n\n```\nbash \u003c(wget -qO- ecs.0s.hk)\n```\n\n或\n\n```\nbash \u003c(wget -qO- ecs.12345.ing)\n```\n\n### 无交互形式-参数模式\n\n```bash\ncurl -L https://gitlab.com/spiritysdx/za/-/raw/main/ecs.sh -o ecs.sh \u0026\u0026 chmod +x ecs.sh \u0026\u0026 bash ecs.sh -m 1\n```\n\n或\n\n```bash\ncurl -L https://github.com/spiritLHLS/ecs/raw/main/ecs.sh -o ecs.sh \u0026\u0026 chmod +x ecs.sh \u0026\u0026 bash ecs.sh -m 1\n```\n\n或通过\n\n```\ncurl -L https://gitlab.com/spiritysdx/za/-/raw/main/ecs.sh -o ecs.sh \u0026\u0026 chmod +x ecs.sh\n```\n\n下载文件后使用类似\n\n```bash\nbash ecs.sh -m 1\n```\n\n这样的参数命令指定选项执行\n\n以下为参数说明：\n\n| 指令 | 项目 | 说明 | 备注 |\n| ---- | ---- | ----------- | ---- |\n| -m | 必填项 | 可指定原本menu中的对应选项，最多支持三层选择，例如执行```bash ecs.sh -m 5 1 1```将选择主菜单第5选项下的第1选项下的子选项1的脚本执行 | 可缺省仅指定一个参数，如```-m 1```仅指定执行融合怪完全体，执行```-m 1 0```以及```-m 1 0 0```都是指定执行融合怪完全体 |\n| -en | 可选项 | 可指定强制输出为英文 | 无该指令则默认使用中文输出 |\n| -i | 可选项 | 可指定回程路由测试中的目标IPV4地址 | 可通过```ip.sb```、```ipinfo.io```等网站获取本地IPV4地址后指定 |\n| -r | 可选项 | 可指定回程路由测试中的目标IPV4地址，可选```b``` ```g``` ```s``` ```c``` 分别对应```北京```、```广州```、```上海、```成都``` | 如```-r b```指定测试北京回程(三网) |\n|   |   | 可指定仅测试IPV6三网，可选 ```b6``` ```g6``` ```s6``` 分别对应 ```北京```、```广州```、```上海``` 的三网的IPV6地址 | 如```-r b6``` 指定测试北京IPV6地址回程(三网) |\n| -base | 可选项 | 可指定仅测试基础的系统信息 | 无该指令则默认按照menu选项的组合测试 |\n| -ctype | 可选项 | 可指定通过何种方式测试cpu，可选```gb4```、```gb5```、```gb6```分别对应```geekbench```的```4```、```5```、```6```版本 | 无该指令则默认使用```sysbench```测试 |\n| -dtype | 可选项 | 可指定测试硬盘IO的程序，可选```dd```、```fio```，前者测试快后者测试慢 | 无该指令则默认都使用进行测试 |\n| -mdisk | 可选项 | 可指定测试多个挂载盘的IO | 注意本指令包含测试系统盘，无该指令默认仅测试系统盘 |\n| -stype | 可选项 | 可指定使用```.cn```还是```.net```的数据进行测速 | 无该指令则默认使用```.net```数据测速优先，不可用时才替换为```.cn```数据 |\n| -bansp | 可选项 | 可指定强制不测试网速 | 无该指令则默认测试网速 |\n| -banup | 可选项 | 可指定强制不生成分享链接 | 无该指令则默认生成分享链接 |\n\n## IP质量检测\n\n- IP质量检测，含15家数据库查询，含DNS黑名单查询\n- 含 ```IPV4``` 和 ```IPV6``` 检测，含ASN和地址查询\n- 含邮件端口检测\n\n```bash\nbash \u003c(wget -qO- bash.spiritlhl.net/ecs-ipcheck)\n```\n\n或\n\n```bash\nbash \u003c(wget -qO- --no-check-certificate https://raw.githubusercontent.com/spiritLHLS/ecs/main/ipcheck.sh)\n```\n\n或\n\n需要事先安裝```dos2unix```\n\n```bash\nwget -qO ipcheck.sh --no-check-certificate https://gitlab.com/spiritysdx/za/-/raw/main/ipcheck.sh\ndos2unix ipcheck.sh\nbash ipcheck.sh\n```\n\n## 融合怪说明\n\n本项目最好在```/root```路径下执行，避免产生环境依赖问题，本项目默认自动更新包管理器，不要在生产环境中使用，建议使用前文提及的Go版本确保不会变动本机配置。\n\n融合怪的执行结果保存在当前路径下的```test_result.txt```中，可在```screen```或```tmux```中执行，可先退出SSH登录过一段时间后再查看文件，避免ssh不稳定导致的测试中断。\n\n**有时候想要测一些配置极其拉跨的机器时，上面这样执行这样可以避免IO或者CPU过于陈旧导致测试过程中的SSH连接中断，假如screen中显示乱码也有没问题，分享链接中的结果是不带乱码的。**\n\n融合怪的完整版和精简版运行完毕会自动上传结果到pastebin并回传分享链接，如果测一半想要退出，那么按```Ctrl+C```同时按下可终止测试，此时会自动退出删除残余的环境依赖文件。\n\n最垃圾的机器测试的例子(跑了47分钟测完)：[跳转](https://github.com/spiritLHLS/ecs/blob/main/lowpage/README.md)\n\n虽然本项目内置使用**CDN**支持**国内**和**国外**加速服务器测试环境安装和预制文件下载，但中国境内受CDN连通性或带宽限制加载可能会比较缓慢。\n\n**本项目初次使用建议查看说明：[跳转](https://github.com/oneclickvirt/ecs/blob/master/README_NEW_USER.md)**\n\n其他说明：\n\n\u003cdetails\u003e\n\u003csummary\u003e展开查看\u003c/summary\u003e\n\n除已标注的原创内容，其余所有分区均为借鉴并进行优化修改后的版本，与原始对应的脚本不一样。\n\n所有检测都有考虑过使用并行测试，并在部分环节使用了该技术，比正常的顺序执行优化了2~3分钟。\n\n系统基础信息测试融合了多家还有自修补的部分检测(systl、NAT类型检测，并发ASN检测等)。\n\nCPU测试默认使用sysbench测试得分，不是yabs的gb4或gb5(虽然默认不是geekbench但可以通过指令指定geekbench常见版本进行测试)，相关说明见Go版本融合怪说明末尾的QA。\n\nIO测试收录了两种，来源于lemonbench的dd磁盘测试和yabs的fio磁盘测试，综合来看会比较好，前者可能误差偏大但测试速度快无硬盘大小限制，后者真实一点但测试速度慢有硬盘以及内存大小限制。\n\n流媒体测试收录了两种，一个是go编译的二进制文件和一个shell脚本版本，二者各有优劣，互相对比看即可。\n\ntiktok测试有superbench和lmc999两种版本，哪个失效了随时可能更新为其中一种版本，以最新的脚本为准。\n\n回程路由测试选用的GO编译的二进制版本和朋友PR的版本，本人做了优化适配多个IP列表以及融合部分查询。\n\nIP质量检测纯原创，如有bug或者更多数据库来源可在issues中提出，日常看IP2Location数据库的IP类型即可，其中的25端口邮箱可达，则可搭建邮局。\n\n融合怪的IP质量检测是简化过的，没有查询Cloudflare的威胁得分，个人原创区的IP质量检测才是完整版(或者仓库说明中列出的那个IP质量检测的命令也是完整版)。\n\n三网测速使用自写的测速脚本，尽量使用最新节点最新组件进行测速，且有备用第三方go版本测速内核，做到自更新测速节点列表，自适应系统环境测速。\n\n其他第三方脚本归纳到了第三方脚本区，里面有同类型脚本不同作者的各种竞品脚本，如果融合怪不能使你满意或者有错误，可以看看那部分。\n\n原创脚本区是个人原创的部分，有事没事也可以看看，可能会更新某些偏门或者独到的脚本。\n\nVPS测试，VPS测速，VPS综合性能测试，VPS回程线路测试，VPS流媒体测试等所有测试融合的脚本，本脚本能融合的都融合了。\n\n\u003c/details\u003e\n\n## 融合怪功能\n\n- [x] 自由组合测试方向和单项测试以及合集收录第三方脚本，融合怪各项测试均自优化修复过，与原始脚本均不同\n- [x] 基础信息查询--感谢[bench.sh](https://github.com/teddysun/across/blob/master/bench.sh)、[superbench.sh](https://www.oldking.net/350.html)、[yabs](https://github.com/masonr/yet-another-bench-script)、[lemonbench](https://github.com/LemonBench/LemonBench)开源，本人整理修改优化，同原版均不一致\n- [x] CPU测试--感谢[lemonbench](https://github.com/LemonBench/LemonBench)和[yabs](https://github.com/masonr/yet-another-bench-script)开源，本人整理修改优化\n- [x] 内存测试--感谢[lemonbench](https://github.com/LemonBench/LemonBench)开源，本人整理修改优化\n- [x] 磁盘dd读写测试--感谢[lemonbench](https://github.com/LemonBench/LemonBench)开源，本人整理修改优化\n- [x] 硬盘fio读写测试--感谢[yabs](https://github.com/masonr/yet-another-bench-script)开源，本人整理修改优化\n- [x] 御三家流媒体解锁测试--感谢[netflix-verify](https://github.com/sjlleo/netflix-verify)、[VerifyDisneyPlus](https://github.com/sjlleo/VerifyDisneyPlus)、[TubeCheck](https://github.com/sjlleo/TubeCheck)开源，本人整理修改维护[CommonMediaTests](https://github.com/oneclickvirt/CommonMediaTests)使用\n- [x] 常用流媒体解锁测试--感谢[RegionRestrictionCheck](https://github.com/lmc999/RegionRestrictionCheck)开源，本人整理修改优化\n- [x] Tiktok解锁--感谢[TikTokCheck](https://github.com/lmc999/TikTokCheck)开源，本人整理修改优化\n- [x] 三网回程以及路由延迟--感谢[zhanghanyun/backtrace](https://github.com/zhanghanyun/backtrace)开源，本人整理修改维护[oneclickvirt/backtrace](https://github.com/oneclickvirt/backtrace)使用\n- [x] 回程路由及带宽类型检测(商宽/家宽/数据中心)--由[fscarmen](https://github.com/fscarmen)的PR以及本人的技术思路提供，本人修改优化维护\n- [x] IP质量(含IPV4和IPV6)与邮件端口检测--使用[oneclickvirt/securityCheck](https://github.com/oneclickvirt/securityCheck)和[oneclickvirt/portchecker](https://github.com/oneclickvirt/portchecker)进行测试，感谢互联网提供的查询资源\n- [x] speedtest测速--使用自写[ecsspeed](https://github.com/spiritLHLS/ecsspeed)仓库，自动更新测速服务器ID，一劳永逸解决老是要手动更新测速ID的问题\n\n# 友链\n\n## 测评频道\n\n### https://t.me/vps_reviews\n\n## 自动更新测速服务器节点列表的网络基准测试脚本\n\n### https://github.com/spiritLHLS/ecsspeed\n\n\n# 脚本概况\n\n\u003cdetails\u003e\n\u003csummary\u003e展开查看\u003c/summary\u003e\n\n主界面：\n\n![图片](https://github.com/spiritLHLS/ecs/assets/103393591/051f1a83-ecd6-4713-af2f-c8b494e33c7f)\n\n选项1融合怪完全体(实际有高亮颜色显示，截图问题暂无显示，以实际运行结果为准)：\n\n![图片](https://github.com/spiritLHLS/ecs/assets/103393591/6dfab873-39fd-44ac-90e0-d3b82720fc04)\n![图片](https://github.com/spiritLHLS/ecs/assets/103393591/62b2d8e1-497d-4329-aa00-cd56f732f28a)\n![图片](https://github.com/spiritLHLS/ecs/assets/103393591/77b79eb9-1b2a-448b-bf83-0ecec8529515)\n![图片](https://github.com/spiritLHLS/ecs/assets/103393591/350c7323-39a5-4caf-8bf2-c3fde045fa64)\n![图片](https://github.com/spiritLHLS/ecs/assets/103393591/5cbaf73c-308e-4147-9a8c-638cfede3440)\n![图片](https://github.com/spiritLHLS/ecs/assets/103393591/903c0b19-b93c-4739-80f6-944992cb0640)\n![图片](https://github.com/spiritLHLS/ecs/assets/103393591/58bc4f72-415b-4b47-a98d-4329ab31fd3e)\n\n选项6原创区：\n\n![图片](https://github.com/spiritLHLS/ecs/assets/103393591/393db695-5c94-41a9-9b02-812ad9d64967)\n\n\u003c/details\u003e\n\n# Stargazers over time\n\n[![Stargazers over time](https://starchart.cc/spiritLHLS/ecs.svg)](https://starchart.cc/spiritLHLS/ecs)\n\n# 致谢\n\n感谢 [ipinfo.io](https://ipinfo.io) [ip.sb](https://ip.sb) [cheervision.co](https://cheervision.co) [scamalytics.com](https://scamalytics.com) [abuseipdb.com](https://www.abuseipdb.com/) [virustotal.com](https://www.virustotal.com/) [ip2location.com](https://ip2location.com/) [ip-api.com](https://ip-api.com) [ipregistry.co](https://ipregistry.co/) [ipdata.co](https://ipdata.co/) [ipgeolocation.io](https://ipgeolocation.io) [ipwhois.io](https://ipwhois.io) [ipapi.com](https://ipapi.com/) [ipapi.is](https://ipapi.is/) [ipqualityscore.com](https://www.ipqualityscore.com/) [bigdatacloud.com](https://www.bigdatacloud.com/) 等网站提供的API进行检测，感谢互联网各网站提供的查询资源\n\n感谢所有开源项目提供的原始测试脚本\n\n感谢\n\n\u003ca href=\"https://h501.io/?from=69\" target=\"_blank\"\u003e\n  \u003cimg src=\"https://github.com/spiritLHLS/ecs/assets/103393591/dfd47230-2747-4112-be69-b5636b34f07f\" alt=\"h501\"\u003e\n\u003c/a\u003e\n\n提供的免费托管支持本开源项目\n\n同时感谢以下平台提供编辑和测试支持\n\n![PyCharm logo](https://resources.jetbrains.com/storage/products/company/brand/logos/PyCharm.png)\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspiritlhls%2Fecs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspiritlhls%2Fecs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspiritlhls%2Fecs/lists"}