{"id":29377925,"url":"https://github.com/xilio-dev/spd","last_synced_at":"2025-07-10T00:09:38.927Z","repository":{"id":303785004,"uuid":"1016681403","full_name":"xilio-dev/spd","owner":"xilio-dev","description":"spd一个通过端口号查询正在运行进程信息的命令行工具，支持精准查找，范围查找，解决Linux自带命令使用繁琐","archived":false,"fork":false,"pushed_at":"2025-07-09T11:32:25.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-09T12:30:10.068Z","etag":null,"topics":["linux","macos","shell","spd","tool"],"latest_commit_sha":null,"homepage":"","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/xilio-dev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"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}},"created_at":"2025-07-09T11:16:19.000Z","updated_at":"2025-07-09T11:35:21.000Z","dependencies_parsed_at":"2025-07-09T12:32:49.480Z","dependency_job_id":"94c8341f-5d3c-4ad3-a155-8cb8f2320d74","html_url":"https://github.com/xilio-dev/spd","commit_stats":null,"previous_names":["xilio-dev/spd"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/xilio-dev/spd","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xilio-dev%2Fspd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xilio-dev%2Fspd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xilio-dev%2Fspd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xilio-dev%2Fspd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xilio-dev","download_url":"https://codeload.github.com/xilio-dev/spd/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xilio-dev%2Fspd/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264505787,"owners_count":23618972,"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":["linux","macos","shell","spd","tool"],"created_at":"2025-07-10T00:09:35.500Z","updated_at":"2025-07-10T00:09:38.923Z","avatar_url":"https://github.com/xilio-dev.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 介绍\nspd是一个轻量级的通过端口号查询正在运行进程信息的工具，支持精准查找和范围查找，解决Linux原生命令使用繁琐问题。\n\n## 功能特性\n\n- 查看`小于`某个端口的所有进程：`spd port-`\n- 查询`大于`某个端口的所有进程: `spd port+`\n- `精准`查询某个端口的进程: `spd port`\n- 查询某个`范围`的所有进程: `spd portStart-portEnd`\n\n## 安装教程\n将[spd.sh](spd.sh)脚本保存在`/usr/local/bin`目录下，便于直接在控制台调用，下面是mac电脑配置。\n```shell\nchmod +x spd.sh\nsudo mv spd.sh /usr/local/bin/spd\n```\n上面配置完成以后在命令行终端输入spd可以看到用法案例：\n```shell\n(base) liuxin@xilio Desktop % spd\nUsage: /usr/local/bin/spd \u003cport_range\u003e\nExamples:\n  /usr/local/bin/spd 8000-    : List processes with ports below 8000\n  /usr/local/bin/spd 8000+    : List processes with ports above 8000\n  /usr/local/bin/spd 8000-9000: List processes with ports between 8000 and 9000 (inclusive)\n  /usr/local/bin/spd 8000     : List processes using port 8000\n```\n例如查询`8080`端口号对应的进程：\n```shell\n(base) root@xilio bin % spd 8080\njava      5724 root   54u  IPv6 0xd5fe70372f2973db      0t0  TCP *:8080 (LISTEN)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxilio-dev%2Fspd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxilio-dev%2Fspd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxilio-dev%2Fspd/lists"}